summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2006-06-02 14:57:13 +0000
committerjoerg <joerg>2006-06-02 14:57:13 +0000
commit9ab71ba97c5eb09f1caa94a470d06d240a732876 (patch)
tree876f6321cb0dce971fdf9dfca77f33753c1be085
parent31bb3905256651e37a3cbc15634432857c20186c (diff)
downloadpkgsrc-9ab71ba97c5eb09f1caa94a470d06d240a732876.tar.gz
Uses C++.
-rw-r--r--archivers/pbzip2/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/archivers/pbzip2/Makefile b/archivers/pbzip2/Makefile
index b9d25461019..aec36d8cff3 100644
--- a/archivers/pbzip2/Makefile
+++ b/archivers/pbzip2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2006/04/12 09:04:16 rillig Exp $
+# $NetBSD: Makefile,v 1.13 2006/06/02 14:57:13 joerg Exp $
#
DISTNAME= pbzip2-0.9.6
@@ -12,11 +12,13 @@ COMMENT= Parallel implementation of the bzip2 block-sorting file compressor
PTHREAD_AUTO_VARS= yes
PTHREAD_OPTS+= require
+USE_LANGUAGES= c++
+
CPPFLAGS+= -D_LARGEFILE_SOURCE=1
CPPFLAGS+= -D_FILE_OFFSET_BITS=64
LIBS+= -lbz2
-INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/pbzip2
do-build:
cd ${WRKSRC}; \
@@ -25,7 +27,6 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pbzip2 ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/pbzip2.1 ${PREFIX}/${PKGMANDIR}/man1
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pbzip2
${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/pbzip2
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/pbzip2