summaryrefslogtreecommitdiff
path: root/audio/linuxsampler/Makefile
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2016-11-05 02:59:01 +0000
committerJan Beich <jbeich@FreeBSD.org>2016-11-05 02:59:01 +0000
commitce7757fd6f567668e8fd52941ace88168d493c84 (patch)
tree8fb621fa283d902153aa4727adf1c2a331b2253b /audio/linuxsampler/Makefile
parentaudio/lv2core: oops, November 31 doesn't exist (diff)
audio/lv2core: backout r425367 to re-land cleanly
Notes
Notes: svn path=/head/; revision=425371
Diffstat (limited to 'audio/linuxsampler/Makefile')
-rw-r--r--audio/linuxsampler/Makefile21
1 files changed, 11 insertions, 10 deletions
diff --git a/audio/linuxsampler/Makefile b/audio/linuxsampler/Makefile
index 61019c3a08cb..8480fdbc0464 100644
--- a/audio/linuxsampler/Makefile
+++ b/audio/linuxsampler/Makefile
@@ -3,7 +3,7 @@
PORTNAME= linuxsampler
PORTVERSION= 1.0.0
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= audio
MASTER_SITES= http://download.linuxsampler.org/packages/
@@ -17,10 +17,10 @@ RESTRICTED= no commercial use
ONLY_FOR_ARCHS= i386 amd64
ONLY_FOR_ARCHS_REASON= "not yet ported"
-OPTIONS_DEFINE= JACK ALSA DSSI LV2
+OPTIONS_DEFINE= JACK ALSA DSSI LV2CORE
OPTIONS_DEFAULT= JACK
DSSI_DESC= Enable DSSI support
-LV2_DESC= Enable LV2 support
+LV2CORE_DESC= Enable LV2 support
USES= tar:bzip2 libtool gmake pathfix pkgconfig sqlite:3
GNU_CONFIGURE= yes
@@ -57,18 +57,19 @@ CONFIGURE_ENV+= ac_cv_header_dssi_h=no
PLIST_SUB+= DSSI="@comment "
.endif
-.if ${PORT_OPTIONS:MLV2}
-BUILD_DEPENDS+= lv2>=0:audio/lv2
-RUN_DEPENDS+= lv2>=0:audio/lv2
-PLIST_SUB+= LV2=""
+.if ${PORT_OPTIONS:MLV2CORE}
+BUILD_DEPENDS+= lv2core>=0:audio/lv2core
+RUN_DEPENDS+= lv2core>=0:audio/lv2core
+PLIST_SUB+= LV2CORE=""
.else
CONFIGURE_ENV+= ac_cv_header_lv2_h=no
-PLIST_SUB+= LV2="@comment "
+PLIST_SUB+= LV2CORE="@comment "
.endif
post-patch:
- @${REINPLACE_CMD} -e '/CXX_CPU_SWITCH=/d' \
- ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e \
+ 's|CXX_CPU_SWITCH=.*|CXX_CPU_SWITCH=|g ; \
+ s|"lv2core"|"_lv2core_"|' ${WRKSRC}/configure
post-install:
@${TOUCH} ${STAGEDIR}${PREFIX}/lib/linuxsampler/plugins/.keep_me