aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2008-05-30 02:48:51 +0800
committerdinoex <dinoex@FreeBSD.org>2008-05-30 02:48:51 +0800
commit0f2afe9e335c54cf94bfb620fa9a0ccae1e1d633 (patch)
tree0d759f790ec3e9cf678617dd96edbd224bf39f4a /x11-toolkits
parentb5a46cb01a07daff3c569d4732245624f2d08fcb (diff)
downloadfreebsd-ports-gnome-0f2afe9e335c54cf94bfb620fa9a0ccae1e1d633.tar.gz
freebsd-ports-gnome-0f2afe9e335c54cf94bfb620fa9a0ccae1e1d633.tar.zst
freebsd-ports-gnome-0f2afe9e335c54cf94bfb620fa9a0ccae1e1d633.zip
- fix build with portaudio, by backing out last patches
Broken in Revision 1.96at date: 2008/05/19 23:04:49; author: pav
Diffstat (limited to 'x11-toolkits')
-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>