aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/xmms
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2012-11-10 17:44:01 +0800
committerdanfe <danfe@FreeBSD.org>2012-11-10 17:44:01 +0800
commitd8fbdfae388a972dd510ca25370e74f6bb6111f9 (patch)
treed6f9094ea5713d1938b755ba2b63b921ea38a0cb /multimedia/xmms
parent805324042d9497a7e0f1eb8a32ff3c179847c799 (diff)
downloadfreebsd-ports-gnome-d8fbdfae388a972dd510ca25370e74f6bb6111f9.tar.gz
freebsd-ports-gnome-d8fbdfae388a972dd510ca25370e74f6bb6111f9.tar.zst
freebsd-ports-gnome-d8fbdfae388a972dd510ca25370e74f6bb6111f9.zip
Apparently, in some cases (per what I observe here) using empty(...) for
testing specific PORT_OPTIONS instead of kosher ! breaks the build. Fix this. While here, move the test below the target. Approved by: maintainer Feature safe: yes
Diffstat (limited to 'multimedia/xmms')
-rw-r--r--multimedia/xmms/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/multimedia/xmms/Makefile b/multimedia/xmms/Makefile
index 062ed70d1710..4b8b81832a2f 100644
--- a/multimedia/xmms/Makefile
+++ b/multimedia/xmms/Makefile
@@ -111,8 +111,8 @@ EXTRA_PATCHES= ${FILESDIR}/extra-patch-Visualization_Makefile.am
PLIST_SUB+= SPEC="@comment "
.endif
-.if empty(${PORT_OPTIONS:MSIMD})
post-extract:
+.if ! ${PORT_OPTIONS:MSIMD}
(cd ${WRKSRC}/Input/mpg123 && ${MV} decode_i586.s decode_i586.S && \
cd ${WRKSRC}/Visualization/blur_scope && ${MV} blur_8.s blur_8.S);
${REINPLACE_CMD} -e 's:\.s :.S :g' -e 's:\.s$$:.S:g' \
@@ -129,7 +129,7 @@ pre-extract:
@${ECHO_MSG} ""
.endif
-.if empty(${PORT_OPTIONS:MRUSXMMS_PATCHES})
+.if ! ${PORT_OPTIONS:MRUSXMMS_PATCHES}
@${ECHO_MSG} ""
@${ECHO_MSG} "You can enable support for ID3v2 tags and CP1251"
@${ECHO_MSG} "encoding by setting the RUSXMMS_PATCHES option."