aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2002-11-16 02:25:06 +0800
committerarchie <archie@FreeBSD.org>2002-11-16 02:25:06 +0800
commitbd85eb44afbb5b4a098b919efcb722d0c26a4c17 (patch)
tree60142cf004227bb1c20954576128d25db4e736dc /java
parent6fe341cf984d380f1eb62bd4a9da5664b9acb0d0 (diff)
downloadfreebsd-ports-gnome-bd85eb44afbb5b4a098b919efcb722d0c26a4c17.tar.gz
freebsd-ports-gnome-bd85eb44afbb5b4a098b919efcb722d0c26a4c17.tar.zst
freebsd-ports-gnome-bd85eb44afbb5b4a098b919efcb722d0c26a4c17.zip
Fix build on -current by adding "-D__XSI_VISIBLE -D__BSD_VISIBLE" to CFLAGS.
Diffstat (limited to 'java')
-rw-r--r--java/sablevm/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/sablevm/Makefile b/java/sablevm/Makefile
index 278a75446f94..1c4096f77434 100644
--- a/java/sablevm/Makefile
+++ b/java/sablevm/Makefile
@@ -28,7 +28,7 @@ LIBTOOLFILES= ${SABLEVMDIR}/configure ${NATIVEDIR}/configure
USE_GMAKE= yes
INSTALLS_SHLIB= yes
PLIST_SUB= PORTVERSION=${PORTVERSION}
-CONFIGURE_ENV= CFLAGS="-D_P1003_1B_VISIBLE -pthread -I${PREFIX}/include -L${PREFIX}/lib"
+CONFIGURE_ENV= CFLAGS="-D__XSI_VISIBLE -D__BSD_VISIBLE -D_P1003_1B_VISIBLE -pthread -I${PREFIX}/include -L${PREFIX}/lib"
.if defined(WITH_GNOMELIBS) || exists(${X11BASE}/include/gnome-1.0/libart_lgpl/art_misc.h)
USE_GNOMENG= yes
USE_GNOME= gnomelibs