From b31b322e43f09736be8a3600d39e0d8fa6aedc5c Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Tue, 25 Oct 2016 09:04:32 +0000 Subject: [PATCH] - Mark broken on 9.x: does not build doe to wxgtk/c++11 issues - Switch to options helpers - Switch to USES=localbase --- audio/sooperlooper/Makefile | 25 ++++++++----------------- 1 file 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 - -.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