aboutsummaryrefslogtreecommitdiff
path: root/editors/nedit
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1996-04-11 08:56:49 +0000
committerSatoshi Asami <asami@FreeBSD.org>1996-04-11 08:56:49 +0000
commit5a9482c5b13878220516297008912e5b4a389524 (patch)
tree5f3d23bde10bf77bff96f21a90f098afb256d18a /editors/nedit
parentc310219ccad1a56d5c48f443470873d14b051db3 (diff)
downloadports-5a9482c5b13878220516297008912e5b4a389524.tar.gz
ports-5a9482c5b13878220516297008912e5b4a389524.zip
Notes
Diffstat (limited to 'editors/nedit')
-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