summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2013-01-01 16:26:42 +0000
committerSergey Popov <pinkbyte@gentoo.org>2013-01-01 16:26:42 +0000
commit8ae332d794e374da242075e5340ba47d09c29b7e (patch)
treefdea8d7b2bccee2a7c93e8dde87348077b7db5d6 /www-apache/pwauth/files/pwauth-2.3.10-makefile.patch
parentVersion bump. (diff)
downloadgentoo-2-8ae332d794e374da242075e5340ba47d09c29b7e.tar.gz
gentoo-2-8ae332d794e374da242075e5340ba47d09c29b7e.tar.bz2
gentoo-2-8ae332d794e374da242075e5340ba47d09c29b7e.zip
Version bump, HOMEPAGE and SRC_URI change, wrt bug #349411
(Portage version: 2.2.0_alpha144/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'www-apache/pwauth/files/pwauth-2.3.10-makefile.patch')
-rw-r--r--www-apache/pwauth/files/pwauth-2.3.10-makefile.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/www-apache/pwauth/files/pwauth-2.3.10-makefile.patch b/www-apache/pwauth/files/pwauth-2.3.10-makefile.patch
new file mode 100644
index 000000000000..a211a06b7231
--- /dev/null
+++ b/www-apache/pwauth/files/pwauth-2.3.10-makefile.patch
@@ -0,0 +1,42 @@
+--- Makefile.orig 2013-01-01 20:19:30.061522843 +0400
++++ Makefile 2013-01-01 20:20:00.356551208 +0400
+@@ -2,19 +2,7 @@
+ # system. Most of the configurable stuff is in config.h
+ #
+ # CC= an ansi-C compiler. If "cc" doesn't work, try "gcc".
+-# LIB= libraries to link in. -lcrypt, -lshadow, -lpam sometimes needed.
+-# LOCALFLAGS= compiler flags. Usually -g, -O, and stuff like that.
+-
+-# Settings for author's system (Redhat 6.1)
+-CC=gcc
+-LIB= -lcrypt
+-LOCALFLAGS= -g
+-
+-# For PAM on Redhat Linux
+-# LIB=-lpam -ldl
+-
+-# For PAM on Solaris or OS X
+-# LIB=-lpam
++# LIBS= libraries to link in. -lcrypt, -lshadow, -lpam sometimes needed.
+
+ # -------------------- No User Servicable Parts Below -----------------------
+
+@@ -25,16 +13,14 @@
+
+ .PHONY: clean distclean
+
+-CFLAGS= $(LOCALFLAGS)
+-
+ pwauth: main.o auth_aix.o auth_bsd.o auth_hpux.o auth_mdw.o auth_openbsd.o \
+ auth_pam.o auth_sun.o fail_log.o lastlog.o nologin.o snooze.o
+ $(CC) -o pwauth $(CFLAGS) main.o auth_aix.o auth_bsd.o auth_hpux.o \
+ auth_mdw.o auth_openbsd.o auth_pam.o auth_sun.o fail_log.o \
+- lastlog.o nologin.o snooze.o $(LIB)
++ lastlog.o nologin.o snooze.o $(LDFLAGS) $(LIBS)
+
+ checkfaillog: checkfaillog.o fail_check.o
+- $(CC) -o checkfaillog $(CFLAGS) checkfaillog.o fail_check.o $(LIB)
++ $(CC) -o checkfaillog $(CFLAGS) checkfaillog.o fail_check.o $(LDFLAGS) $(LIBS)
+
+ main.o: main.c config.h pwauth.h fail_log.h
+ auth_aix.o: auth_aix.c config.h pwauth.h