Change this to conform to our new Motif standards.

(1) Add REQUIRES_MOTIF=yes.

(2) Use ${MOTIFLIB} wherever libXm is required.
This commit is contained in:
Satoshi Asami 1996-04-11 08:56:49 +00:00
parent c310219cca
commit 5a9482c5b1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=2968
2 changed files with 3 additions and 2 deletions

View File

@ -16,6 +16,7 @@ MAINTAINER= deischen@iworks.InterWorks.org
LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
REQUIRES_MOTIF= yes
USE_X11= yes
NO_WRKSUBDIR= yes
EXTRACT_BEFORE_ARGS= -C ${WRKDIR} -xf

View File

@ -45,7 +45,7 @@
+
+ # For editres, add -DEDITRES to CFLAGS and -lXmu to LIBS
+ CFLAGS=-O -I${PREFIX}/include -DUSE_DIRENT -DUSE_LPR_PRINT_CMD
+ LIBS= -L${PREFIX}/lib -lm ${PREFIX}/lib/libXm.a -lXpm -lXext -lXt -lSM -lICE -lX11
+ LIBS= ${MOTIFLIB} -L${PREFIX}/lib -lm -lXpm -lXext -lXt -lSM -lICE -lX11
+
+ include Makefile.common
*** util/Makefile.common.orig Sun Apr 7 17:33:24 1996
@ -77,7 +77,7 @@
+
+ # For editres, add -DEDITRES to CFLAGS and -lXmu to LIBS
+ CFLAGS=-O -I${PREFIX}/include -DUSE_DIRENT -DUSE_LPR_PRINT_CMD
+ LIBS= -L${PREFIX}/lib -lm ${PREFIX}/lib/libXm.a -lXpm -lXext -lXt -lSM -lICE -lX11
+ LIBS= ${MOTIFLIB} -L${PREFIX}/lib -lm -lXpm -lXext -lXt -lSM -lICE -lX11
+
+ include Makefile.common
*** source/Makefile.common.orig Sun Apr 7 17:51:54 1996