summaryrefslogtreecommitdiff
path: root/security/pam-mysql/files/patch-ab
diff options
context:
space:
mode:
authorAnders Nordby <anders@FreeBSD.org>2003-06-01 21:27:03 +0000
committerAnders Nordby <anders@FreeBSD.org>2003-06-01 21:27:03 +0000
commitb3480a0721fa81276e15b68bc584cf03f41581d7 (patch)
tree292d52896a4a1ad5396df3214f195185099f7e90 /security/pam-mysql/files/patch-ab
parentDrop maintainership. (diff)
Update to 0.5.
Unbreak on -current. PR: ports/48239 Submitted by: Sergey Matveychuk <sem@ciam.ru>
Notes
Notes: svn path=/head/; revision=81933
Diffstat (limited to 'security/pam-mysql/files/patch-ab')
-rw-r--r--security/pam-mysql/files/patch-ab18
1 files changed, 18 insertions, 0 deletions
diff --git a/security/pam-mysql/files/patch-ab b/security/pam-mysql/files/patch-ab
new file mode 100644
index 000000000000..b07b8ed513c7
--- /dev/null
+++ b/security/pam-mysql/files/patch-ab
@@ -0,0 +1,18 @@
+--- Makefile.orig Thu Nov 21 02:13:01 2002
++++ Makefile Mon May 19 23:41:43 2003
+@@ -3,13 +3,9 @@
+ ifndef FULL_LINUX_PAM_SOURCE_TREE
+ export DYNAMIC=-DPAM_DYNAMIC
+ export CC=gcc
+-export CFLAGS=-O2 -Dlinux -DLINUX_PAM \
+- -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings \
+- -Wpointer-arith -Wcast-qual -Wcast-align -Wtraditional \
+- -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline \
+- -Wshadow -pedantic -fPIC
++export CFLAGS+=-I${LOCALBASE}/include -fPIC
+ export MKDIR=mkdir -p
+-export LD_D=gcc -shared -Xlinker -x -L/usr/lib/mysql -lz
++export LD_D=${CC} -shared -Xlinker -x -L${LOCALBASE}/lib/mysql -lz
+ endif
+
+ #