pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/openpam Pass -DSYSCONFDIR="$sysconfdir" in th...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/66556cbb48d2
branches:  trunk
changeset: 487957:66556cbb48d2
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sat Jan 22 16:22:25 2005 +0000

description:
Pass -DSYSCONFDIR="$sysconfdir" in the Makefile instead of the configure
script to avoid bizarre quoting problems within the configure script.
This also fixes the definition of SYSCONFDIR in the compiled library.
Bump the PKGREVISION to 1.

diffstat:

 security/openpam/Makefile         |   3 ++-
 security/openpam/distinfo         |   4 ++--
 security/openpam/patches/patch-aa |  12 ------------
 security/openpam/patches/patch-ac |  13 +++++++++++++
 4 files changed, 17 insertions(+), 15 deletions(-)

diffs (57 lines):

diff -r 98cb216c5bcc -r 66556cbb48d2 security/openpam/Makefile
--- a/security/openpam/Makefile Sat Jan 22 16:05:37 2005 +0000
+++ b/security/openpam/Makefile Sat Jan 22 16:22:25 2005 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2005/01/17 16:55:21 jlam Exp $
+# $NetBSD: Makefile,v 1.5 2005/01/22 16:22:25 jlam Exp $
 
 DISTNAME=      openpam-20040210
+PKGREVISION=   1
 CATEGORIES=    security
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=openpam/}
 
diff -r 98cb216c5bcc -r 66556cbb48d2 security/openpam/distinfo
--- a/security/openpam/distinfo Sat Jan 22 16:05:37 2005 +0000
+++ b/security/openpam/distinfo Sat Jan 22 16:22:25 2005 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/01/13 21:51:08 jlam Exp $
+$NetBSD: distinfo,v 1.2 2005/01/22 16:22:25 jlam Exp $
 
 SHA1 (openpam-20040210.tar.gz) = 99967a06cba98736d8999bf31aec80592f4718b2
 Size (openpam-20040210.tar.gz) = 212523 bytes
-SHA1 (patch-aa) = a24f8ccd0da01358b4d1015fe54e21c4e78e659e
 SHA1 (patch-ab) = 9e5149c20b1ea0c0b937e7d90e5c6b609d5b4796
+SHA1 (patch-ac) = 6cdf6231be6f896766ec3e9b78018a9d3180f8a8
diff -r 98cb216c5bcc -r 66556cbb48d2 security/openpam/patches/patch-aa
--- a/security/openpam/patches/patch-aa Sat Jan 22 16:05:37 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2005/01/13 21:51:08 jlam Exp $
-
---- configure.orig     2004-02-09 18:00:00.000000000 -0500
-+++ configure
-@@ -3213,6 +3213,7 @@ else
- echo "${ECHO_T}no" >&6
- fi;
- 
-+CPPFLAGS="$CPPFLAGS -DSYSCONFDIR=\\\"$sysconfdir\\\""
- 
- echo "$as_me:$LINENO: checking whether to build example version of /bin/su" >&5
- echo $ECHO_N "checking whether to build example version of /bin/su... $ECHO_C" >&6
diff -r 98cb216c5bcc -r 66556cbb48d2 security/openpam/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/openpam/patches/patch-ac Sat Jan 22 16:22:25 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2005/01/22 16:22:25 jlam Exp $
+
+--- lib/Makefile.in.orig       2004-02-09 18:00:00.000000000 -0500
++++ lib/Makefile.in
+@@ -160,7 +160,7 @@ libpam_la_OBJECTS = $(am_libpam_la_OBJEC
+ 
+ DEFS = @DEFS@
+ DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
+-CPPFLAGS = @CPPFLAGS@
++CPPFLAGS = @CPPFLAGS@ -DSYSCONFDIR=\"$(sysconfdir)\"
+ LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
+ depcomp = $(SHELL) $(top_srcdir)/depcomp



Home | Main Index | Thread Index | Old Index