From b3480a0721fa81276e15b68bc584cf03f41581d7 Mon Sep 17 00:00:00 2001 From: Anders Nordby Date: Sun, 1 Jun 2003 21:27:03 +0000 Subject: Update to 0.5. Unbreak on -current. PR: ports/48239 Submitted by: Sergey Matveychuk --- security/pam-mysql/files/patch-ab | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 security/pam-mysql/files/patch-ab (limited to 'security/pam-mysql/files/patch-ab') 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 + + # -- cgit v1.2.3