diff options
author | lawrance <lawrance@FreeBSD.org> | 2006-01-30 03:23:58 +0000 |
---|---|---|
committer | lawrance <lawrance@FreeBSD.org> | 2006-01-30 03:23:58 +0000 |
commit | fdd3c619600cf0e0a96082460516c923ec2f57f6 (patch) | |
tree | d81c71a8999dcce3a608988c7037f3329bc06118 /archivers | |
parent | 9d18a06b3e0282f095197adec366763b699c851b (diff) | |
download | FreeBSD-ports-fdd3c619600cf0e0a96082460516c923ec2f57f6.zip FreeBSD-ports-fdd3c619600cf0e0a96082460516c923ec2f57f6.tar.gz |
Retire USE_REINPLACE.
Fix build on 4.x by stringifying a #define instead of defining it with quotes.
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/pbzip2/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/archivers/pbzip2/Makefile b/archivers/pbzip2/Makefile index 2806e87..3c6bf6b 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 |