summaryrefslogtreecommitdiff
path: root/editors/nedit/patches
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2002-01-17 17:11:48 +0000
committeragc <agc@pkgsrc.org>2002-01-17 17:11:48 +0000
commitf25f6082c1f87ef053754506d5eec35904198424 (patch)
tree8cededf654210434dd4533a1a8179a34b0182090 /editors/nedit/patches
parentbd9f7cc1ff3b28c5a6a8f32477a2f6391cf8a983 (diff)
downloadpkgsrc-f25f6082c1f87ef053754506d5eec35904198424.tar.gz
Don't hardcode /usr/X11R6 in the makefile - use ${X11BASE} instead.
Also, pass down ${_MOTIFBASE} from the package makefile during the build, and use it in the Makefiles. Fixes PR 15277 from Hiramatsu Yoshifumi, hiramatu@boreas.dti.ne.jp, albeit in a different way to the fix in the PR.
Diffstat (limited to 'editors/nedit/patches')
-rw-r--r--editors/nedit/patches/patch-aa11
1 files changed, 7 insertions, 4 deletions
diff --git a/editors/nedit/patches/patch-aa b/editors/nedit/patches/patch-aa
index 0eb6632e4ed..12c85a04594 100644
--- a/editors/nedit/patches/patch-aa
+++ b/editors/nedit/patches/patch-aa
@@ -1,12 +1,15 @@
-$NetBSD: patch-aa,v 1.9 2001/10/31 00:03:16 mjl Exp $
+$NetBSD: patch-aa,v 1.10 2002/01/17 17:11:49 agc Exp $
--- makefiles/Makefile.netbsd.orig Sat Aug 18 01:02:55 2001
+++ makefiles/Makefile.netbsd Wed Oct 31 00:18:05 2001
-@@ -9,6 +9,6 @@
+@@ -7,8 +7,8 @@
+ # To evaluate an alternative layout for the Replace/Find dialog, add
+ # -DREPLACE_SCOPE to the CFLAGS. See the README file for more information.
#
- CFLAGS=-O -I/usr/X11R6/include -DUSE_DIRENT -DUSE_LPR_PRINT_CMD
+-CFLAGS=-O -I/usr/X11R6/include -DUSE_DIRENT -DUSE_LPR_PRINT_CMD
++CFLAGS=-O -I${X11BASE}/include -I${_MOTIFBASE}/include -DUSE_DIRENT -DUSE_LPR_PRINT_CMD
ARFLAGS=-ur
-LIBS= -L/usr/X11R6/lib -lm -lXm -lXpm -lXext -lXt -lSM -lICE -lX11
-+LIBS= ${LDFLAGS} ${MOTIFLIB} -L/usr/X11R6/lib -lm -lXpm -lXext -lXt -lSM -lICE -lX11
++LIBS= ${LDFLAGS} ${MOTIFLIB} -L${_MOTIFBASE}/lib -L${X11BASE}/lib -lm -lXpm -lXext -lXt -lSM -lICE -lX11
include Makefile.common