pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/jgrasp Do not use libutil on Darwin.
details: https://anonhg.NetBSD.org/pkgsrc/rev/123655f0a35a
branches: trunk
changeset: 515725:123655f0a35a
user: minskim <minskim%pkgsrc.org@localhost>
date: Fri Jul 07 03:31:50 2006 +0000
description:
Do not use libutil on Darwin.
diffstat:
devel/jgrasp/Makefile | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 6bcebfcee684 -r 123655f0a35a devel/jgrasp/Makefile
--- a/devel/jgrasp/Makefile Fri Jul 07 03:18:18 2006 +0000
+++ b/devel/jgrasp/Makefile Fri Jul 07 03:31:50 2006 +0000
@@ -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 @@
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 \
Home |
Main Index |
Thread Index |
Old Index