aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-04-03 11:26:48 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-04-03 11:26:48 +0000
commit0438143249634ab5028e53cb468d99a894c62995 (patch)
tree204c01c7973e83331fc29d8b09e59b3e9f219bd6 /audio
parent68f48ea6c2e03359333e7b211625e51e06aa2026 (diff)
downloadports-0438143249634ab5028e53cb468d99a894c62995.tar.gz
ports-0438143249634ab5028e53cb468d99a894c62995.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/libgpod/Makefile7
-rw-r--r--audio/musicpd/Makefile6
-rw-r--r--audio/schism/Makefile9
-rw-r--r--audio/schism/files/patch-modplug__snd_gm.c (renamed from audio/schism/files/extrapatch-modplug__snd_gm.c)0
4 files changed, 4 insertions, 18 deletions
diff --git a/audio/libgpod/Makefile b/audio/libgpod/Makefile
index 40f7f7b221d7..2bb189b1fe64 100644
--- a/audio/libgpod/Makefile
+++ b/audio/libgpod/Makefile
@@ -46,10 +46,9 @@ PYTHON_CONFIGURE_WITH= python
PORTDOCS= ChangeLog NEWS README*
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MIMOBILE} && (${OSVERSION} > 900002 || \
- ${OSVERSION} < 900000 && ${OSVERSION} > 800107)
+.if ${PORT_OPTIONS:MIMOBILE}
COMMENT:= ${COMMENT:S,iPod,&/iPhone,}
LIB_DEPENDS+= libimobiledevice.so:${PORTSDIR}/comms/libimobiledevice
CONFIGURE_ENV+= LIBUSB_CFLAGS=" " LIBUSB_LIBS="-lusb"
@@ -65,4 +64,4 @@ post-patch:
post-install:
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/musicpd/Makefile b/audio/musicpd/Makefile
index 428fc6cf8557..54d1c8f69085 100644
--- a/audio/musicpd/Makefile
+++ b/audio/musicpd/Makefile
@@ -201,12 +201,6 @@ post-patch:
-e 's#^mpd.conf#${PORTNAME}.conf#' \
-e 's#^mpd(1)#musicpd(1)#' \
${WRKSRC}/doc/mpd.1 ${WRKSRC}/doc/mpd.conf.5
-.if (${OSVERSION} < 800000)
- ${REINPLACE_CMD} -e 's/nan[f]*(\"\")/NAN/g' \
- ${WRKSRC}/src/crossfade.c \
- ${WRKSRC}/src/player_thread.c \
- ${WRKSRC}/src/player_control.c
-.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/mpd \
diff --git a/audio/schism/Makefile b/audio/schism/Makefile
index c2aafd2a297e..d82af440ef2c 100644
--- a/audio/schism/Makefile
+++ b/audio/schism/Makefile
@@ -30,11 +30,4 @@ PORTSCOUT= skipv:20100202,20101127,20101128,20110101,20120105
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/schismtracker ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-.include <bsd.port.pre.mk>
-
-# after merging log2 and log2f into libm
-.if ${OSVERSION} >= 802502
-EXTRA_PATCHES= ${FILESDIR}/extrapatch-modplug__snd_gm.c
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/schism/files/extrapatch-modplug__snd_gm.c b/audio/schism/files/patch-modplug__snd_gm.c
index 73b22615aec1..73b22615aec1 100644
--- a/audio/schism/files/extrapatch-modplug__snd_gm.c
+++ b/audio/schism/files/patch-modplug__snd_gm.c