pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/pam-af Fix build on SunOS with gcc by replaci...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e3f0be0a9e3d
branches:  trunk
changeset: 601491:e3f0be0a9e3d
user:      hans <hans%pkgsrc.org@localhost>
date:      Wed Mar 21 18:24:00 2012 +0000

description:
Fix build on SunOS with gcc by replacing sunpro arguments with their gcc
counterparts. The wrappers will replace them again for sunpro builds.

diffstat:

 security/pam-af/distinfo         |   4 ++--
 security/pam-af/patches/patch-aa |  12 +++++++++++-
 2 files changed, 13 insertions(+), 3 deletions(-)

diffs (39 lines):

diff -r 91cf271e3cfa -r e3f0be0a9e3d security/pam-af/distinfo
--- a/security/pam-af/distinfo  Wed Mar 21 18:20:52 2012 +0000
+++ b/security/pam-af/distinfo  Wed Mar 21 18:24:00 2012 +0000
@@ -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 -r 91cf271e3cfa -r e3f0be0a9e3d security/pam-af/patches/patch-aa
--- a/security/pam-af/patches/patch-aa  Wed Mar 21 18:20:52 2012 +0000
+++ b/security/pam-af/patches/patch-aa  Wed Mar 21 18:24:00 2012 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index