summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2008-09-23 13:52:27 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2008-09-23 13:52:27 +0000
commit667bcaeca0ef05feca0f9e9c7430d15e17b423dd (patch)
treec836ec223ef60703d174e62e8291b475a3f249dd
parent- Update to 4.18.8 (diff)
- Remove bogus REINPLACE_CMD which was intended to fix build on 4.x, but has broken program output instead.
- While here, line up MAN and MLINKS lines PR: 125260 Submitted by: Geoff The <geoff2k at gmail dot com> Patch by: pav@
-rw-r--r--archivers/pbzip2/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/archivers/pbzip2/Makefile b/archivers/pbzip2/Makefile
index 59e00680156b..5d0f8f3decbc 100644
--- a/archivers/pbzip2/Makefile
+++ b/archivers/pbzip2/Makefile
@@ -9,17 +9,18 @@
PORTNAME= pbzip2
PORTVERSION= 1.0.2.0.2
DISTVERSION= 1.0.2
+PORTREVISION= 1
CATEGORIES= archivers
MASTER_SITES= http://compression.ca/pbzip2/ CENKES
-DIST_SUBDIR= ${PKGNAME}
+DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Parallel BZIP2
PLIST_FILES= bin/pbzip2 bin/pbunzip2
-MAN1= pbzip2.1
-MLINKS= pbzip2.1 pbunzip2.1
+MAN1= pbzip2.1
+MLINKS= pbzip2.1 pbunzip2.1
post-patch:
@${REINPLACE_CMD} \
@@ -27,8 +28,6 @@ post-patch:
s,-O3,${CXXFLAGS},; \
s,^CC,#CC,; \
s,CC,CXX,' ${WRKSRC}/Makefile
- @${REINPLACE_CMD} -e 's,PRIu64 "Lu",PRIu64 Lu,;s,"PRIu64",#PRIu64,g' \
- ${WRKSRC}/pbzip2.cpp
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/