pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/bzip2 Add the necessary preprocessor magic t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/83209dbcd7da
branches:  trunk
changeset: 556349:83209dbcd7da
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Mar 20 13:47:59 2009 +0000

description:
Add the necessary preprocessor magic to build a 64bit version all the
time. Bump revision. Reminded by Eric Gillespie.

diffstat:

 archivers/bzip2/Makefile       |  3 ++-
 archivers/bzip2/files/Makefile |  5 ++++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r 8db0fc315624 -r 83209dbcd7da archivers/bzip2/Makefile
--- a/archivers/bzip2/Makefile  Fri Mar 20 13:05:32 2009 +0000
+++ b/archivers/bzip2/Makefile  Fri Mar 20 13:47:59 2009 +0000
@@ -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 -r 8db0fc315624 -r 83209dbcd7da archivers/bzip2/files/Makefile
--- a/archivers/bzip2/files/Makefile    Fri Mar 20 13:05:32 2009 +0000
+++ b/archivers/bzip2/files/Makefile    Fri Mar 20 13:47:59 2009 +0000
@@ -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 @@
        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}



Home | Main Index | Thread Index | Old Index