Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Oct 2016 09:04:33 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r424612 - head/audio/sooperlooper
Message-ID:  <201610250904.u9P94XRW087670@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Oct 25 09:04:32 2016
New Revision: 424612
URL: https://svnweb.freebsd.org/changeset/ports/424612

Log:
  - Mark broken on 9.x: does not build doe to wxgtk/c++11 issues
  - Switch to options helpers
  - Switch to USES=localbase

Modified:
  head/audio/sooperlooper/Makefile

Modified: head/audio/sooperlooper/Makefile
==============================================================================
--- head/audio/sooperlooper/Makefile	Tue Oct 25 09:03:59 2016	(r424611)
+++ head/audio/sooperlooper/Makefile	Tue Oct 25 09:04:32 2016	(r424612)
@@ -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_als
 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610250904.u9P94XRW087670>