diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2009-07-09 11:17:56 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2009-07-09 11:17:56 +0000 |
commit | 217138074e020083c52b7fa72cdf45b839479a2d (patch) | |
tree | c09d73e7df5f6877d3833944f1b69668685710a8 /audio/flac | |
parent | 02d501a21f99b8cc218678c7ba4195d90c887f4c (diff) | |
download | ports-217138074e020083c52b7fa72cdf45b839479a2d.tar.gz ports-217138074e020083c52b7fa72cdf45b839479a2d.zip |
Notes
Diffstat (limited to 'audio/flac')
-rw-r--r-- | audio/flac/Makefile | 5 |
1 files changed, 4 insertions, 1 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 |