summaryrefslogtreecommitdiff
path: root/x11-toolkits/gnustep-gui
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2008-05-29 18:48:51 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2008-05-29 18:48:51 +0000
commit1b7239c2cd6759574306623be4d20a43bf1f884f (patch)
tree63278cfc751328f567fc2257b27822d6b7c0a871 /x11-toolkits/gnustep-gui
parent- Add missing patches (diff)
- fix build with portaudio, by backing out last patches
Broken in Revision 1.96at date: 2008/05/19 23:04:49; author: pav
Notes
Notes: svn path=/head/; revision=213888
Diffstat (limited to 'x11-toolkits/gnustep-gui')
-rw-r--r--x11-toolkits/gnustep-gui/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/x11-toolkits/gnustep-gui/Makefile b/x11-toolkits/gnustep-gui/Makefile
index 8a98136baaf1..fb3b22b1da8c 100644
--- a/x11-toolkits/gnustep-gui/Makefile
+++ b/x11-toolkits/gnustep-gui/Makefile
@@ -23,8 +23,6 @@ LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png
LIB_DEPENDS+= audiofile.0:${PORTSDIR}/audio/libaudiofile
LIB_DEPENDS+= ungif.5:${PORTSDIR}/graphics/libungif
-BROKEN= does not compile
-
RESTRICTED= GPL3
GNU_CONFIGURE= yes
CONFIGURE_TARGET=
@@ -50,15 +48,13 @@ MAKE_FLAGS+= OPTFLAG="${CFLAGS}"
BREAKS_IF_PEDANTIC= yes
PLIST_SUB+= BASEVERSION=${PORTVERSION:C/[.][0-9]*$//1}
-.include <bsd.port.pre.mk>
-
.if defined(WITHOUT_GNUSTEP_FAKEMAIN)
.if !exists(/proc/curproc)
IGNORE= requires procfs mounted to build or run, for details see procfs(5)
.endif
.endif
-.if !defined(WITHOUT_PORTAUDIO2) || !defined(WITHOUT_PORTAUDIO)
+.if !defined(WITHOUT_PORTAUDIO2) && !defined(WITHOUT_PORTAUDIO)
LIB_DEPENDS+= portaudio:${PORTSDIR}/audio/portaudio2
CPPFLAGS+= -I${LOCALBASE}/include/portaudio2 ${PTHREAD_CFLAGS}
CFLAGS+= ${PTHREAD_CFLAGS}
@@ -93,4 +89,10 @@ pre-configure:
${REINPLACE_CMD} -e "s|doc=no|doc=yes|" ${WRKSRC}/GNUmakefile
.endif
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 600000
+IGNORE= missing threading functions
+.endif
+
.include <bsd.port.post.mk>