summaryrefslogtreecommitdiff
path: root/archivers/bzip2
diff options
context:
space:
mode:
authorjoerg <joerg>2009-03-20 13:47:59 +0000
committerjoerg <joerg>2009-03-20 13:47:59 +0000
commitedf8e90055cfb6bdec5a42546fdbcce216e9127c (patch)
tree07750bbb9f3472136876d6d5ab8535a50cbdda71 /archivers/bzip2
parent60f08d1f344cc24f2cb8f2aa4a8ee6d26b3df89f (diff)
downloadpkgsrc-edf8e90055cfb6bdec5a42546fdbcce216e9127c.tar.gz
Add the necessary preprocessor magic to build a 64bit version all the
time. Bump revision. Reminded by Eric Gillespie.
Diffstat (limited to 'archivers/bzip2')
-rw-r--r--archivers/bzip2/Makefile3
-rw-r--r--archivers/bzip2/files/Makefile5
2 files changed, 6 insertions, 2 deletions
diff --git a/archivers/bzip2/Makefile b/archivers/bzip2/Makefile
index 1838ba6fa82..9b032497e11 100644
--- a/archivers/bzip2/Makefile
+++ b/archivers/bzip2/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.47 2008/03/26 19:06:06 adrianp Exp $
+# $NetBSD: Makefile,v 1.48 2009/03/20 13:47:59 joerg Exp $
#
DISTNAME= bzip2-1.0.5
+PKGREVISION= 1
CATEGORIES= archivers
MASTER_SITES= http://www.bzip.org/1.0.5/
diff --git a/archivers/bzip2/files/Makefile b/archivers/bzip2/files/Makefile
index d3cc5dec12c..a2f2bcacec9 100644
--- a/archivers/bzip2/files/Makefile
+++ b/archivers/bzip2/files/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2007/08/02 13:04:42 joerg Exp $
+# $NetBSD: Makefile,v 1.2 2009/03/20 13:47:59 joerg Exp $
#
# Replacement Makefile for bzip2.
#
@@ -7,6 +7,9 @@ OBJS= blocksort.o bzlib.o compress.o crctable.o \
decompress.o huffman.o randtable.o
LOBJS= ${OBJS:R:S/$/.lo/g}
+CFLAGS+= -D_LARGEFILE_SOURCE -D_LARGE_FILES
+CFLAGS+= -D_FILE_OFFSET_BITS=64
+
all: libbz2.la bzip2 bzip2recover
libbz2.la: ${LOBJS}