summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2004-05-15 00:37:08 +0000
committerkristerw <kristerw@pkgsrc.org>2004-05-15 00:37:08 +0000
commit6e74e203e16df053f656223e8f7efeabc4a7a33a (patch)
treeed97ec4ea417b8ec8c95851a87197fdbc6b7c3fb /devel
parent931a27a2e6ae405e3344b9ebd70f69b2710db32f (diff)
downloadpkgsrc-6e74e203e16df053f656223e8f7efeabc4a7a33a.tar.gz
bl3ify
Diffstat (limited to 'devel')
-rw-r--r--devel/jgrasp/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/devel/jgrasp/Makefile b/devel/jgrasp/Makefile
index 55895977389..f3471717156 100644
--- a/devel/jgrasp/Makefile
+++ b/devel/jgrasp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/01/09 19:13:03 jschauma Exp $
+# $NetBSD: Makefile,v 1.2 2004/05/15 00:37:08 kristerw Exp $
#
DISTNAME= jgrasp164
@@ -14,13 +14,17 @@ COMMENT= IDE with support for Software Visualizations
WRKSRC= ${WRKDIR}/jgrasp
PKG_JVMS_ACCEPTED= sun-jdk13 sun-jdk14
+USE_BUILDLINK3= yes
+USE_X11= yes
+
do-configure:
${MKDIR} ${WRKSRC}/bin/${LOWER_OPSYS}
do-build:
${CC} ${CFLAGS} -lutil -o ${WRKSRC}/jbin/${LOWER_OPSYS}_run \
${WRKSRC}/src/linux_run.c
- ${CC} ${CFLAGS} -I${X11PREFIX}/include -L${X11PREFIX}/lib -lX11 \
+ ${CC} ${CFLAGS} -I${X11BASE}/include \
+ -L${X11BASE}/lib -Wl,-R${X11BASE}/lib -lX11 \
-o ${WRKSRC}/bin/${LOWER_OPSYS}/jgrasp \
${WRKSRC}/src/linux_exec.c