diff options
author | jlam <jlam@pkgsrc.org> | 2005-01-22 16:22:25 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-01-22 16:22:25 +0000 |
commit | 1bff0aabdb2fcc4694f4b5b0955cd642943b2b9d (patch) | |
tree | 57953a86774f1a2d7ba3e07c20e570b0a6200340 /security/openpam/patches | |
parent | 625d996cd887bb22fac9d04fe4be7b9b866242b4 (diff) | |
download | pkgsrc-1bff0aabdb2fcc4694f4b5b0955cd642943b2b9d.tar.gz |
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 (limited to 'security/openpam/patches')
-rw-r--r-- | security/openpam/patches/patch-aa | 12 | ||||
-rw-r--r-- | security/openpam/patches/patch-ac | 13 |
2 files changed, 13 insertions, 12 deletions
diff --git a/security/openpam/patches/patch-aa b/security/openpam/patches/patch-aa deleted file mode 100644 index 27330e98032..00000000000 --- a/security/openpam/patches/patch-aa +++ /dev/null @@ -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 --git a/security/openpam/patches/patch-ac b/security/openpam/patches/patch-ac new file mode 100644 index 00000000000..b60b35cb69e --- /dev/null +++ b/security/openpam/patches/patch-ac @@ -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 |