summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg>2007-08-04 12:32:01 +0000
committerjoerg <joerg>2007-08-04 12:32:01 +0000
commit23e135c706965dc84cfc095da646a5b52c8c4609 (patch)
tree5a0f924fe13b7c601004d59b39848d1186594070 /pkgtools/pkg_install/Makefile
parenta36135537a36362816d562d68676de223b9ec24b (diff)
downloadpkgsrc-23e135c706965dc84cfc095da646a5b52c8c4609.tar.gz
Try hard to get 64bit offsets in all modules, fixing misunderstandings
between libarchive and pkg_create e.g. on HP-UX. Add my copyright to build.c, it is almost completely rewritten.
Diffstat (limited to 'pkgtools/pkg_install/Makefile')
-rw-r--r--pkgtools/pkg_install/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgtools/pkg_install/Makefile b/pkgtools/pkg_install/Makefile
index a0b986f055c..1040cc9ca37 100644
--- a/pkgtools/pkg_install/Makefile
+++ b/pkgtools/pkg_install/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.138 2007/08/03 15:12:43 joerg Exp $
+# $NetBSD: Makefile,v 1.139 2007/08/04 12:32:01 joerg Exp $
# Notes to package maintainers:
#
@@ -50,6 +50,9 @@ PKG_PRESERVE= yes
USE_NATIVE_GCC= yes
PKG_DELETE= ${WRKSRC}/delete/pkg_delete
+CPPFLAGS+= -D_LARGEFILE_SOURCE -D_LARGE_FILES
+CPPFLAGS+= -D_FILE_OFFSET_BITS=64
+
CPPFLAGS+= -DDEF_UMASK=${DEF_UMASK}
CPPFLAGS+= -DPREFIX="\"${PREFIX}\""
CPPFLAGS+= -DSYSCONFDIR="\"${PKG_SYSCONFDIR}\""