aboutsummaryrefslogtreecommitdiff
path: root/archivers/libpar2
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-09-04 13:47:08 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-09-04 13:47:08 +0000
commit1e4f1b087d80ec74133818a32cb8fe7559c26176 (patch)
treee716ddca36269e7cd94aa972a9ee52ac616a6452 /archivers/libpar2
parenta82e6804c6393b47fb28fe5345912297b6cc9abb (diff)
downloadports-1e4f1b087d80ec74133818a32cb8fe7559c26176.tar.gz
ports-1e4f1b087d80ec74133818a32cb8fe7559c26176.zip
Fix build without libstdc++
Notes
Notes: svn path=/head/; revision=326277
Diffstat (limited to 'archivers/libpar2')
-rw-r--r--archivers/libpar2/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/archivers/libpar2/Makefile b/archivers/libpar2/Makefile
index a642827c6fb8..8e15b081c4f6 100644
--- a/archivers/libpar2/Makefile
+++ b/archivers/libpar2/Makefile
@@ -24,6 +24,11 @@ USES= pkgconfig
.include <bsd.port.options.mk>
+post-patch:
+ @${REINPLACE_CMD} -e "s/-lstdc++//g" \
+ ${WRKSRC}/Makefile.in \
+ ${WRKSRC}/configure
+
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}