summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim>2006-07-07 03:31:50 +0000
committerminskim <minskim>2006-07-07 03:31:50 +0000
commit2a8db7c74909512d51eea162c9d9ec98fa5ddbcb (patch)
treeb4708455d14cf169701aa1d3bb303a2353044650
parent303a274a78f582150d4ab24584e091d8b488018f (diff)
downloadpkgsrc-2a8db7c74909512d51eea162c9d9ec98fa5ddbcb.tar.gz
Do not use libutil on Darwin.
-rw-r--r--devel/jgrasp/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/devel/jgrasp/Makefile b/devel/jgrasp/Makefile
index 2decf94f406..42064108702 100644
--- a/devel/jgrasp/Makefile
+++ b/devel/jgrasp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2006/05/15 19:41:45 joerg Exp $
+# $NetBSD: Makefile,v 1.14 2006/07/07 03:31:50 minskim Exp $
#
DISTNAME= jgrasp170
@@ -16,11 +16,17 @@ WRKSRC= ${WRKDIR}/jgrasp
PKG_JVMS_ACCEPTED= sun-jdk13 sun-jdk14 jdk14
INSTALLATION_DIRS= bin
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} != "Darwin"
+LIBS+= -lutil
+.endif
+
do-configure:
${MKDIR} ${WRKSRC}/bin/${LOWER_OPSYS}
do-build:
- ${CC} ${CFLAGS} -lutil -o ${WRKSRC}/jbin/${LOWER_OPSYS}_run \
+ ${CC} ${CFLAGS} ${LIBS} -o ${WRKSRC}/jbin/${LOWER_OPSYS}_run \
${WRKSRC}/src/linux_run.c
${CC} ${CFLAGS} -I${X11BASE}/include \
-L${X11BASE}/lib ${COMPILER_RPATH_FLAG}${X11BASE}/lib -lX11 \