1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

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
This commit is contained in:
Alexey Dokuchaev 2012-11-10 09:44:01 +00:00
parent 2785136f82
commit 304742240d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=307265

View File

@ -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."