aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2010-06-07 18:33:22 +0800
committernaddy <naddy@FreeBSD.org>2010-06-07 18:33:22 +0800
commitdb7128adf702358c2dbf9ff8f7a5f19e69267074 (patch)
treec2f9337785d2766126f8a666099ea66b104de3da
parent1688153498e82247a5092a59644e0ff441dcb15c (diff)
downloadfreebsd-ports-gnome-db7128adf702358c2dbf9ff8f7a5f19e69267074.tar.gz
freebsd-ports-gnome-db7128adf702358c2dbf9ff8f7a5f19e69267074.tar.zst
freebsd-ports-gnome-db7128adf702358c2dbf9ff8f7a5f19e69267074.zip
Only apply patch for WITH_GNUSTEP_DEVEL.
Reported by: QAT
-rw-r--r--x11-toolkits/gnustep-gui/Makefile4
-rw-r--r--x11-toolkits/gnustep-gui/files/extra-patch-Tools_sound_AudioOutputSink.m (renamed from x11-toolkits/gnustep-gui/files/patch-Tools_sound_AudioOutputSink.m)0
2 files changed, 4 insertions, 0 deletions
diff --git a/x11-toolkits/gnustep-gui/Makefile b/x11-toolkits/gnustep-gui/Makefile
index 175e63cf7c9e..b2759a0dad2e 100644
--- a/x11-toolkits/gnustep-gui/Makefile
+++ b/x11-toolkits/gnustep-gui/Makefile
@@ -58,6 +58,10 @@ MAKE_ENV+= GNUSTEP_INSTALLATION_DOMAIN=SYSTEM
BREAKS_IF_PEDANTIC= yes
PLIST_SUB+= BASEVERSION=${PORTVERSION:C/[.][0-9]*$//1}
+.if defined(WITH_GNUSTEP_DEVEL)
+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-Tools_sound_AudioOutputSink.m
+.endif
+
.if defined(WITHOUT_GNUSTEP_FAKEMAIN)
.if !exists(/proc/curproc)
IGNORE= requires procfs mounted to build or run, for details see procfs(5)
diff --git a/x11-toolkits/gnustep-gui/files/patch-Tools_sound_AudioOutputSink.m b/x11-toolkits/gnustep-gui/files/extra-patch-Tools_sound_AudioOutputSink.m
index 4610c84a9431..4610c84a9431 100644
--- a/x11-toolkits/gnustep-gui/files/patch-Tools_sound_AudioOutputSink.m
+++ b/x11-toolkits/gnustep-gui/files/extra-patch-Tools_sound_AudioOutputSink.m