summaryrefslogtreecommitdiff
path: root/java/sablevm
diff options
context:
space:
mode:
authorArchie Cobbs <archie@FreeBSD.org>2002-08-30 16:49:36 +0000
committerArchie Cobbs <archie@FreeBSD.org>2002-08-30 16:49:36 +0000
commitac17d79a2a2ffa496cb27e95d38dd3becec88546 (patch)
tree8edc722d1ce9cd4c0f9fc4de1f50291afa1a71c8 /java/sablevm
parentPut copy of distfile to MASTER_SITE_LOCAL, so that it is fetchable. (diff)
Make this port GNOMENG aware.
PR: ports/42206
Notes
Notes: svn path=/head/; revision=65322
Diffstat (limited to 'java/sablevm')
-rw-r--r--java/sablevm/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/java/sablevm/Makefile b/java/sablevm/Makefile
index d8048292e401..aadc379f78b6 100644
--- a/java/sablevm/Makefile
+++ b/java/sablevm/Makefile
@@ -28,8 +28,10 @@ USE_GMAKE= yes
INSTALLS_SHLIB= yes
PLIST_SUB= PORTVERSION=${PORTVERSION}
CONFIGURE_ENV= CFLAGS="-D_P1003_1B_VISIBLE -pthread -I${PREFIX}/include -L${PREFIX}/lib"
-# Uncomment to force gnome dependency
-#USE_GNOMELIBS= yes
+.if defined(WITH_GNOMELIBS)
+USE_GNOMENG= yes
+USE_GNOME= gnomelibs
+.endif
# Directories for the three SableVM source components
SABLEVMDIR= ${PORTNAME}-${PORTVERSION}
@@ -37,7 +39,7 @@ NATIVEDIR= ${PORTNAME}-native-library-${PORTVERSION}
CLASSESDIR= ${PORTNAME}-class-library-${PORTVERSION}
# Conditionally compile the gnome-dependent stuff
-.if !defined(USE_GNOMELIBS) && !exists(${X11BASE}/include/gnome-1.0/libart_lgpl/art_misc.h)
+.if !defined(WITH_GNOMELIBS) && !exists(${X11BASE}/include/gnome-1.0/libart_lgpl/art_misc.h)
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-aa ${PATCHDIR}/extra-patch-ab
pre-fetch:
@${ECHO} ''
@@ -47,7 +49,7 @@ pre-fetch:
@${ECHO} '***' Therefore, SableVM will be built without graphics
@${ECHO} '***' support. If you would like to install the Gnome
@${ECHO} '***' libraries to include graphics support, hit Control-C
- @${ECHO} '***' now and type \'make USE_GNOMELIBS=yes\'.
+ @${ECHO} '***' now and type \'make WITH_GNOMELIBS=yes\'.
@${ECHO} '***'
@${ECHO} ''
@sleep 3
@@ -58,7 +60,7 @@ post-patch:
@for dir in ${SABLEVMDIR}; do \
for file in aclocal.m4 configure Makefile.in Makefile; do \
${ECHO} ${TOUCH} ${WRKDIR}/$${dir}/$${file}; \
- touch ${WRKDIR}/$${dir}/$${file}; \
+ ${TOUCH} ${WRKDIR}/$${dir}/$${file}; \
done; \
done