summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2009-07-09 11:17:56 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2009-07-09 11:17:56 +0000
commit217138074e020083c52b7fa72cdf45b839479a2d (patch)
treec09d73e7df5f6877d3833944f1b69668685710a8 /audio
parent- Connect linux-f10-flashplugin10 to the build (diff)
Alas, the assumption that /nonexistent does not exist is not reliable.
PR: 136447
Notes
Notes: svn path=/head/; revision=237505
Diffstat (limited to 'audio')
-rw-r--r--audio/flac/Makefile5
-rw-r--r--audio/xmms-flac/Makefile5
2 files changed, 8 insertions, 2 deletions
diff --git a/audio/flac/Makefile b/audio/flac/Makefile
index 302afcbabf1d..41910b4ff8b1 100644
--- a/audio/flac/Makefile
+++ b/audio/flac/Makefile
@@ -34,7 +34,6 @@ CONFIGURE_ARGS+=--without-libiconv-prefix
.endif
MAKE_ARGS= pkgconfigdir="${PREFIX}/libdata/pkgconfig"
-MAKE_ENV= MAKEOBJDIR=/nonexistent # ignore ${WRKSRC}/obj
.if defined(NOPORTDOCS)
MAKE_ENV+= DOC=""
.else
@@ -54,6 +53,10 @@ pre-patch:
@${REINPLACE_CMD} 's:^docdir = $$(datadir)/doc/$$(PACKAGE)-$$(VERSION):docdir = $$(datadir)/doc/$$(PACKAGE):' \
`find ${WRKSRC}/doc -name Makefile.in`
+# "obj" is magic to our make(1)
+post-configure:
+ @${RM} -rf ${WRKSRC}/obj
+
post-build:
${REINPLACE_CMD} 's:%%PREFIX%%:${PREFIX}:' ${WRKSRC}/man/flac.1
diff --git a/audio/xmms-flac/Makefile b/audio/xmms-flac/Makefile
index 9775c9742769..81b2e3ac62ba 100644
--- a/audio/xmms-flac/Makefile
+++ b/audio/xmms-flac/Makefile
@@ -23,10 +23,13 @@ CONFIGURE_ARGS= --with-libiconv-prefix="${LOCALBASE}" \
--with-ogg="${LOCALBASE}" \
--with-xmms-prefix="${LOCALBASE}"
MAKE_ARGS= LIBTOOL="${LIBTOOL} --tag=disable-static"
-MAKE_ENV= MAKEOBJDIR=/nonexistent # ignore ${WRKSRC}/obj
MAKEFILE= ${FILESDIR}/Makefile
MAKE_JOBS_SAFE= yes
+# "obj" is magic to our make(1)
+post-configure:
+ @${RM} -rf ${WRKSRC}/obj
+
# XXX
post-install:
${RM} ${PREFIX}/lib/xmms/Input/libxmms-flac.la