aboutsummaryrefslogtreecommitdiffstats
path: root/audio/sooperlooper
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-10-25 17:04:32 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-10-25 17:04:32 +0800
commit085da51cb852983bd19690068231324fd1746202 (patch)
tree2c4846d950bb0ac3ebbc2da4ecc000b67aaa506f /audio/sooperlooper
parent45bf107be447a9272845bcc0e196d1388b1026d4 (diff)
downloadfreebsd-ports-gnome-085da51cb852983bd19690068231324fd1746202.tar.gz
freebsd-ports-gnome-085da51cb852983bd19690068231324fd1746202.tar.zst
freebsd-ports-gnome-085da51cb852983bd19690068231324fd1746202.zip
- Mark broken on 9.x: does not build doe to wxgtk/c++11 issues
- Switch to options helpers - Switch to USES=localbase
Diffstat (limited to 'audio/sooperlooper')
-rw-r--r--audio/sooperlooper/Makefile25
1 files changed, 8 insertions, 17 deletions
diff --git a/audio/sooperlooper/Makefile b/audio/sooperlooper/Makefile
index d1712617c083..b59d53461adc 100644
--- a/audio/sooperlooper/Makefile
+++ b/audio/sooperlooper/Makefile
@@ -23,14 +23,14 @@ LIB_DEPENDS= libjack.so:audio/jack \
libfftw3.so:math/fftw3
RUN_DEPENDS= ladspa>0:audio/ladspa
-USES= gmake ncurses pkgconfig
+BROKEN_FreeBSD_9= does not build
+
+USES= gmake localbase ncurses pkgconfig
USE_GNOME= libxml2
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CFLAGS+= -Wno-error=write-strings
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= ALSA WXGTK
OPTIONS_DEFAULT= WXGTK
@@ -41,25 +41,16 @@ ALSA_CONFIGURE_ENV_OFF= ac_cv_header_alsa_asoundlib_h=no
WXGTK_USE= WX=3.0
WXGTK_CONFIGURE_ON= --with-wxconfig-path=${WX_CONFIG}
WXGTK_CONFIGURE_OFF= --without-gui
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MWXGTK}
-DESKTOP_ENTRIES="SooperLooper" "" "${DATADIR}/sl_logo.xpm" "slgui" \
- "AudioVideo;Audio;Player;GTK;" ""
-.endif
+WXGTK_DESKTOP_ENTRIES= "SooperLooper" "" "${DATADIR}/sl_logo.xpm" "slgui" \
+ "AudioVideo;Audio;Player;GTK;" ""
post-patch:
@${FIND} ${WRKSRC} -name "configure" | ${XARGS} ${REINPLACE_CMD} -e \
's|$$OPT_FLAGS|$$CXXFLAGS| ; \
/^CXXFLAGS/s|-g|$$CXXFLAGS| ; \
- s|-fo-merge-constants|| ; \
- s|-lpthread|-pthread|'
+ s|-fo-merge-constants||'
-post-install:
-.if ${PORT_OPTIONS:MWXGTK}
- (cd ${WRKSRC}/src/gui/pixmaps && ${INSTALL_DATA} sl_logo.xpm \
- ${STAGEDIR}${DATADIR})
-.endif
+post-install-WXGTK-on:
+ ${INSTALL_DATA} ${WRKSRC}/src/gui/pixmaps/sl_logo.xpm ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>