diff options
author | fhajny <fhajny@pkgsrc.org> | 2012-03-12 14:18:44 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2012-03-12 14:18:44 +0000 |
commit | 39444111bc40773e64f8d2b7fcf645dd384271d7 (patch) | |
tree | 5c5de9e97d495dfea240c5542772d4393abedc87 /security | |
parent | 175e8ec4a7a8818ebb27c85c3b38cf0771172b03 (diff) | |
download | pkgsrc-39444111bc40773e64f8d2b7fcf645dd384271d7.tar.gz |
Value of _FILE_OFFSET_BITS corrected. Disabled static linking for Solaris 10
and later (no longer supports static linking).
Diffstat (limited to 'security')
-rw-r--r-- | security/aide/Makefile | 10 | ||||
-rw-r--r-- | security/aide/distinfo | 4 | ||||
-rw-r--r-- | security/aide/patches/patch-ab | 12 |
3 files changed, 21 insertions, 5 deletions
diff --git a/security/aide/Makefile b/security/aide/Makefile index 086e1e3d190..e030281f124 100644 --- a/security/aide/Makefile +++ b/security/aide/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.32 2010/09/13 13:09:20 pettai Exp $ +# $NetBSD: Makefile,v 1.33 2012/03/12 14:18:44 fhajny Exp $ # DISTNAME= aide-0.15.1 @@ -14,10 +14,16 @@ PKG_DESTDIR_SUPPORT= user-destdir BUILDLINK_API_DEPENDS.mhash?= mhash>=0.8.17 - GNU_CONFIGURE= yes USE_TOOLS+= bison flex gmake +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "SunOS" && empty(OS_VERSION:M5.[6-9]) +# Since Solaris 10, static linking no longer possible +CONFIGURE_ARGS+= --disable-static +.endif + .include "../../devel/zlib/buildlink3.mk" .include "../../security/mhash/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/security/aide/distinfo b/security/aide/distinfo index 58077e320e5..d68a83883d4 100644 --- a/security/aide/distinfo +++ b/security/aide/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.12 2010/09/19 06:11:04 obache Exp $ +$NetBSD: distinfo,v 1.13 2012/03/12 14:18:44 fhajny Exp $ SHA1 (aide-0.15.1.tar.gz) = c5998c04a223416142323fa1bd18db0936099827 RMD160 (aide-0.15.1.tar.gz) = 80ea88b1c1496bcca57d2d1cdeecdcdfca0fa5cf Size (aide-0.15.1.tar.gz) = 424970 bytes -SHA1 (patch-ab) = 21bcedc7d2838974f934e9c8a2be7a17920a183d +SHA1 (patch-ab) = ddfaaf42767ebb6eaab73c33489b7aef19e5b003 SHA1 (patch-ae) = 87c234f8d316117cf766134ca69d6f753c59dd91 SHA1 (patch-af) = 70ac8a100e9d601b7ffcaa9d716742d1d947aca7 diff --git a/security/aide/patches/patch-ab b/security/aide/patches/patch-ab index 8fe4520cdbf..8c839bf9d42 100644 --- a/security/aide/patches/patch-ab +++ b/security/aide/patches/patch-ab @@ -1,7 +1,8 @@ -$NetBSD: patch-ab,v 1.4 2010/09/19 06:11:04 obache Exp $ +$NetBSD: patch-ab,v 1.5 2012/03/12 14:18:44 fhajny Exp $ * YACC and LEX are passwd as full path. * static linking is not supported on MacOS X. PR#39058. +* FILE_OFFSET_BITS corrected --- configure.orig 2010-09-10 17:48:04.000000000 +0000 +++ configure @@ -37,3 +38,12 @@ $NetBSD: patch-ab,v 1.4 2010/09/19 06:11:04 obache Exp $ *) ## pic_flag='-fPIC' ;; +@@ -6435,7 +6430,7 @@ ac_fn_c_check_func "$LINENO" "lstat64" " + if test "x$ac_cv_func_lstat64" = x""yes; then : + ac_fn_c_check_func "$LINENO" "stat64" "ac_cv_func_stat64" + if test "x$ac_cv_func_stat64" = x""yes; then : +- AIDE_DEFS="$AIDE_DEFS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS" ++ AIDE_DEFS="$AIDE_DEFS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" + AIDE_LSTAT_FUNC="lstat64" + compoptionstring="${compoptionstring}WITH_LSTAT64\\n" + AIDE_STAT_FUNC="stat64" |