aboutsummaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2012-02-07 13:36:27 +0800
committerdinoex <dinoex@FreeBSD.org>2012-02-07 13:36:27 +0800
commitdcd7a1168e1668f4bfc8a323066b441df278bd3c (patch)
tree9ca7caebaa40d2ec729f66091e535209380d1fa7 /biology
parent43908b337e96e3f54b1ed3a168a059fb3b7a7717 (diff)
downloadfreebsd-ports-gnome-dcd7a1168e1668f4bfc8a323066b441df278bd3c.tar.gz
freebsd-ports-gnome-dcd7a1168e1668f4bfc8a323066b441df278bd3c.tar.zst
freebsd-ports-gnome-dcd7a1168e1668f4bfc8a323066b441df278bd3c.zip
- fix build with gcc46
Diffstat (limited to 'biology')
-rw-r--r--biology/adun/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/biology/adun/Makefile b/biology/adun/Makefile
index c3a408b96abd..008173643940 100644
--- a/biology/adun/Makefile
+++ b/biology/adun/Makefile
@@ -44,12 +44,7 @@ ADDITIONAL_LDFLAGS= -rpath-link=${WRKSRC}/Kernel/AdunKernel/AdunKernel.framework
MAKE_ENV+= GSL_LIB_DIR=${LOCALBASE}/lib
MAKE_ENV+= GSL_INCLUDE_DIR=${LOCALBASE}/include
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 900000
-BROKEN= does not compile on FreeBSD 9.X
-.endif
+MAKE_ENV+= KERNEL_COMPILER="${CC}"
post-patch:
${REINPLACE_CMD} -e 's|^GNUSTEP_INSTALLATION_DOMAIN|#GNUSTEP_INSTALLATION_DOMAIN|' \
@@ -65,5 +60,7 @@ post-patch:
${WRKSRC}/UL/ULFramework/GNUmakefile
${REINPLACE_CMD} -e 's|GNUSTEP_HOME./..GNUSTEP_USER_DIR_TOOLS|GNUSTEP_LOCAL_TOOLS|' \
${WRKSRC}/GNUmakefile.postamble
+ ${REINPLACE_CMD} -e 's|<wait.h>|<sys/wait.h>|' \
+ ${WRKSRC}/UL/AdunServer/AdServer.m
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>