aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1996-04-11 16:56:49 +0800
committerasami <asami@FreeBSD.org>1996-04-11 16:56:49 +0800
commitf25c16ad751a25658a03f9ae9c0e31a3ae7bef05 (patch)
tree9a337791be10a5bb12f8b9f4641d4ab1aeaac247 /editors
parentcc15124059a5c60a461dc3e627e9ddda305d6e05 (diff)
downloadfreebsd-ports-gnome-f25c16ad751a25658a03f9ae9c0e31a3ae7bef05.tar.gz
freebsd-ports-gnome-f25c16ad751a25658a03f9ae9c0e31a3ae7bef05.tar.zst
freebsd-ports-gnome-f25c16ad751a25658a03f9ae9c0e31a3ae7bef05.zip
Change this to conform to our new Motif standards.
(1) Add REQUIRES_MOTIF=yes. (2) Use ${MOTIFLIB} wherever libXm is required.
Diffstat (limited to 'editors')
-rw-r--r--editors/nedit/Makefile1
-rw-r--r--editors/nedit/files/patch-aa4
2 files changed, 3 insertions, 2 deletions
diff --git a/editors/nedit/Makefile b/editors/nedit/Makefile
index 0c376acb80b4..4bc9eedd4e99 100644
--- a/editors/nedit/Makefile
+++ b/editors/nedit/Makefile
@@ -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
diff --git a/editors/nedit/files/patch-aa b/editors/nedit/files/patch-aa
index 540e206842fc..678656d2483a 100644
--- a/editors/nedit/files/patch-aa
+++ b/editors/nedit/files/patch-aa
@@ -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