summaryrefslogtreecommitdiff
path: root/security/pam-af
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-03-21 18:24:00 +0000
committerhans <hans@pkgsrc.org>2012-03-21 18:24:00 +0000
commitfd428a486eec643af6d09b33182450b1a4033695 (patch)
tree474b5c349ab6fec3eb9a07cf3939879ac0aea3d5 /security/pam-af
parentae4950acbec64eb4104006840580f7270219050e (diff)
downloadpkgsrc-fd428a486eec643af6d09b33182450b1a4033695.tar.gz
Fix build on SunOS with gcc by replacing sunpro arguments with their gcc
counterparts. The wrappers will replace them again for sunpro builds.
Diffstat (limited to 'security/pam-af')
-rw-r--r--security/pam-af/distinfo4
-rw-r--r--security/pam-af/patches/patch-aa12
2 files changed, 13 insertions, 3 deletions
diff --git a/security/pam-af/distinfo b/security/pam-af/distinfo
index f890c116d45..263052ffe9f 100644
--- a/security/pam-af/distinfo
+++ b/security/pam-af/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.7 2011/10/17 08:47:51 obache Exp $
+$NetBSD: distinfo,v 1.8 2012/03/21 18:24:00 hans Exp $
SHA1 (pam_af-1.0.2.tar.bz2) = e3856a33d79beafa8d4e8cb44b19cbf79a3ed422
RMD160 (pam_af-1.0.2.tar.bz2) = 0c4163d811ba83de32e9b4633780ac76c8d10d8f
Size (pam_af-1.0.2.tar.bz2) = 17991 bytes
-SHA1 (patch-aa) = 90efac36df429a51461b7a912f3ea0db923f630e
+SHA1 (patch-aa) = 9c8e44c7b25e268777967c742a6946abe0c80316
SHA1 (patch-ab) = 93adab4e1a230e46f5742ecb4390ff50d96d56d5
SHA1 (patch-ad) = 0f46fecfec3b920a08e2c22c14ada368214d6a69
diff --git a/security/pam-af/patches/patch-aa b/security/pam-af/patches/patch-aa
index b6b56343fe2..322372b4f44 100644
--- a/security/pam-af/patches/patch-aa
+++ b/security/pam-af/patches/patch-aa
@@ -1,10 +1,20 @@
-$NetBSD: patch-aa,v 1.3 2011/01/25 09:07:58 obache Exp $
+$NetBSD: patch-aa,v 1.4 2012/03/21 18:24:00 hans Exp $
+* use gcc flags on SunOS
* for PKGSRC layout
* treat *BSDs same as FreeBSD.
--- Makefile.orig 2006-11-07 00:26:58.000000000 +0000
+++ Makefile
+@@ -69,7 +69,7 @@ CFLAGS = -I./common/ -DPIC
+ CFLAGS_GCC = -O2 -Wall -Werror -Wno-format-y2k \
+ -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch \
+ -Wshadow -Wchar-subscripts -Winline -Wnested-externs -fPIC
+-CFLAGS_SUN = -KPIC -xO2 -D_SUN_PAM_ -D_HAVE_USERDEFS_H_
++CFLAGS_SUN = -fPIC -O2 -D_SUN_PAM_ -D_HAVE_USERDEFS_H_
+ CFLAGS_HP = -Ae +w1 +W 474,486,542 +z +O2
+ CFLAGS_BSD = -D_HAVE_PATHS_H_ -D_HAVE_ERR_H_ -D_HAVE_GETPROGNAME_ -D_USE_MODULE_ENTRY_ -D_HAVE_SALEN_
+ CFLAGS_GNU = -D_GNU_SOURCE -D_HAVE_PATHS_H_ -D_HAVE_ERR_H_ -D_HAVE_FLOCK_ \
@@ -102,16 +102,16 @@ DISTTOOLMAN = pam_af_tool.8
LIBMAN = $(LIBDIR)/$(DISTLIBMAN)
TOOLMAN = $(TOOLDIR)/$(DISTTOOLMAN)