summaryrefslogtreecommitdiff
path: root/editors/ng/patches
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-04-14 15:07:16 +0000
committerjlam <jlam@pkgsrc.org>2002-04-14 15:07:16 +0000
commit369fb3251908b16a3c2ce64ed4933fa627c6deaa (patch)
tree2ec170f120e822943e7f79543a20574e8e0b3956 /editors/ng/patches
parent272214692bab5fe11a595dbbf90cb9f2f3c37843 (diff)
downloadpkgsrc-369fb3251908b16a3c2ce64ed4933fa627c6deaa.tar.gz
Find the canna-lib headers and libraries in ${X11PREFIX} instead of
${PREFIX}, as canna-lib is USE_X11BASE.
Diffstat (limited to 'editors/ng/patches')
-rw-r--r--editors/ng/patches/patch-aa6
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/ng/patches/patch-aa b/editors/ng/patches/patch-aa
index c0d1220b9c6..711af363784 100644
--- a/editors/ng/patches/patch-aa
+++ b/editors/ng/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.3 2001/03/18 01:16:51 jun Exp $
+$NetBSD: patch-aa,v 1.4 2002/04/14 15:07:18 jlam Exp $
--- sys/bsd/Makefile.orig Sun Oct 1 00:59:42 2000
+++ sys/bsd/Makefile Thu Feb 15 18:28:30 2001
@@ -11,8 +11,8 @@ $NetBSD: patch-aa,v 1.3 2001/03/18 01:16:51 jun Exp $
-#CANNAINC = -I/usr/pkg/include
+.if ${USE_CANNA} == "YES"
+CANNADEF = -DCANNA
-+CANNALIB = -Wl,-R${PREFIX}/lib -L${PREFIX}/lib -lcanna
-+CANNAINC = -I${PREFIX}/include
++CANNALIB = -Wl,-R${X11PREFIX}/lib -L${X11PREFIX}/lib -lcanna
++CANNAINC = -I${X11PREFIX}/include
+.else
CANNADEF =
CANNALIB =