aboutsummaryrefslogtreecommitdiff
path: root/archivers/pbzip2
diff options
context:
space:
mode:
authorSam Lawrance <lawrance@FreeBSD.org>2006-01-30 03:23:58 +0000
committerSam Lawrance <lawrance@FreeBSD.org>2006-01-30 03:23:58 +0000
commit7e71ca3da5d9cc8e95c03ba6183b6524c2558915 (patch)
tree02c99b47c076282b267b048f76a8e74ed45610b8 /archivers/pbzip2
parent16f11ef3f2c79a8d8047d374dc6365da219998d4 (diff)
downloadports-7e71ca3da5d9cc8e95c03ba6183b6524c2558915.tar.gz
ports-7e71ca3da5d9cc8e95c03ba6183b6524c2558915.zip
Retire USE_REINPLACE.
Fix build on 4.x by stringifying a #define instead of defining it with quotes.
Notes
Notes: svn path=/head/; revision=154760
Diffstat (limited to 'archivers/pbzip2')
-rw-r--r--archivers/pbzip2/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/archivers/pbzip2/Makefile b/archivers/pbzip2/Makefile
index 2806e87451fa..3c6bf6bb56f5 100644
--- a/archivers/pbzip2/Makefile
+++ b/archivers/pbzip2/Makefile
@@ -14,8 +14,6 @@ MASTER_SITES= http://compression.ca/pbzip2/
MAINTAINER= ports@FreeBSD.org
COMMENT= Parallel BZIP2
-USE_REINPLACE= yes
-
PLIST_FILES= bin/pbzip2
post-patch:
@@ -24,6 +22,10 @@ post-patch:
-e "s,-O3,${CXXFLAGS}," \
-e "s,^CC,#CC," \
-e "s,CC,CXX," ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} \
+ -e "s,PRIu64 \"Lu\",PRIu64 Lu," \
+ -e "s,\"PRIu64\",#PRIu64,g" ${WRKSRC}/pbzip2.cpp
+
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin