summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorfredb <fredb>2002-04-19 16:53:41 +0000
committerfredb <fredb>2002-04-19 16:53:41 +0000
commit4cd94e09196d3181049acdf6f0d08173d1d4f310 (patch)
treeb0b2cc67e83892354cc92a7f575149a1837f8d55 /print
parent8c9e749fef2ec6a63042c6ed0f320a7dd87a6138 (diff)
downloadpkgsrc-4cd94e09196d3181049acdf6f0d08173d1d4f310.tar.gz
Use the EVAL_PREFIX macro to grok the location of "forms.h", as suggested
by agc. For the "forms", "jpeg", and "Xpm" shared libraries, we have to cast a wider net, so partially revert last commit. For that, "X11BASE" is correct, as we already search "LOCALBASE" by virtue of ${LDFLAGS} set in bsd.pkg.mk. This should fix PR pkg/16308.
Diffstat (limited to 'print')
-rw-r--r--print/lyx/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/print/lyx/Makefile b/print/lyx/Makefile
index 4c05d8501e5..0a21fa45fba 100644
--- a/print/lyx/Makefile
+++ b/print/lyx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2002/04/18 23:55:26 fredb Exp $
+# $NetBSD: Makefile,v 1.44 2002/04/19 16:53:41 fredb Exp $
# FreeBSD Id: Makefile,v 1.14 1998/02/14 16:46:50 andreas Exp
#
@@ -22,10 +22,11 @@ DEPENDS+= xforms>=0.9999:../../x11/xforms
USE_PERL5= YES
USE_XPM= YES
GNU_CONFIGURE= YES
-CONFIGURE_ARGS= --with-extra-lib="${X11PREFIX}/lib" \
- --with-extra-inc="${X11PREFIX}/include ${X11PREFIX}/include/X11"
+EVAL_PREFIX+= XFORMSDIR=xforms
+CONFIGURE_ARGS+= --with-extra-lib="${X11BASE}/lib" \
+ --with-extra-inc="${XFORMSDIR}/include/X11"
-LDFLAGS+= -L${X11PREFIX}/lib -Wl,-R${X11PREFIX}/lib
+LDFLAGS+= -L${X11BASE}/lib -Wl,-R${X11BASE}/lib
post-install:
${CHMOD} +x ${PREFIX}/share/lyx/configure