summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Villavicencio <the_paya@gentoo.org>2008-07-23 00:08:10 +0000
committerJavier Villavicencio <the_paya@gentoo.org>2008-07-23 00:08:10 +0000
commit862110b9a9f1ba52b7d915fa7d31317f7873bfbf (patch)
tree8d781095a668e62e957d8270eaacb77f2de91d3b /sys-auth/pam_passwdqc/files
parentQuote variable on line 40 for the latest ebuild and use emake for install too. (diff)
downloadgentoo-2-862110b9a9f1ba52b7d915fa7d31317f7873bfbf.tar.gz
gentoo-2-862110b9a9f1ba52b7d915fa7d31317f7873bfbf.tar.bz2
gentoo-2-862110b9a9f1ba52b7d915fa7d31317f7873bfbf.zip
Fix makefile patch to build on FreeBSD bug #232695, and keyword ~x86-fbsd.
(Portage version: 2.2_rc1/cvs/FreeBSD 7.0-RELEASE i386)
Diffstat (limited to 'sys-auth/pam_passwdqc/files')
-rw-r--r--sys-auth/pam_passwdqc/files/pam_passwdqc-1.0.5-makefile.patch7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys-auth/pam_passwdqc/files/pam_passwdqc-1.0.5-makefile.patch b/sys-auth/pam_passwdqc/files/pam_passwdqc-1.0.5-makefile.patch
index b1158f2a9cb9..20375b76a381 100644
--- a/sys-auth/pam_passwdqc/files/pam_passwdqc-1.0.5-makefile.patch
+++ b/sys-auth/pam_passwdqc/files/pam_passwdqc-1.0.5-makefile.patch
@@ -13,7 +13,7 @@ Index: pam_passwdqc-1.0.5/Makefile
LDFLAGS_LINUX = --shared -Wl,--version-script,$(MAP)
LDFLAGS_SUN = -G
LDFLAGS_HP = -b
-@@ -41,13 +41,13 @@ MAP = pam_passwdqc.map
+@@ -41,16 +41,16 @@ MAP = pam_passwdqc.map
all:
case "`uname -s`" in \
Linux) $(MAKE) CFLAGS="$(CFLAGS) -DHAVE_SHADOW" \
@@ -28,5 +28,8 @@ Index: pam_passwdqc-1.0.5/Makefile
- LD=ld LDFLAGS="$(LDFLAGS_HP)" LDLIBS="$(LDLIBS_HP)" \
+ LD=ld LDFLAGS="$(LDFLAGS) $(LDFLAGS_HP)" LDLIBS="$(LDLIBS_HP)" \
$(PROJ);; \
- *) $(MAKE) $(PROJ);; \
+- *) $(MAKE) $(PROJ);; \
++ *) $(MAKE) LDFLAGS="$(LDFLAGS) $(LDFLAGS_GENERIC)" $(PROJ);; \
esac
+
+ $(LIBSHARED): $(OBJS) $(MAP)