summaryrefslogtreecommitdiff
path: root/devel/jgrasp/Makefile
diff options
context:
space:
mode:
authorkristerw <kristerw>2004-05-15 00:37:08 +0000
committerkristerw <kristerw>2004-05-15 00:37:08 +0000
commit389b83a288ad5a7763d6fe4a7119a4a0343e422b (patch)
treeed97ec4ea417b8ec8c95851a87197fdbc6b7c3fb /devel/jgrasp/Makefile
parent2123302656ea1e92dad4e310e447aa464bd3ffcb (diff)
downloadpkgsrc-389b83a288ad5a7763d6fe4a7119a4a0343e422b.tar.gz
bl3ify
Diffstat (limited to 'devel/jgrasp/Makefile')
-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