freebsd-ports/security/cracklib/files/patch-util::Makefile
Kris Kennaway 75ed089359 Build a shared library. This fixes the build of dependent ports on amd64,
which cannot link non-PIC lib.a code into a lib.so.  Also respect CFLAGS
while I'm here, and bump PORTREVISION.

Reviewed by:	maintainer
2004-03-15 21:52:56 +00:00

11 lines
464 B
Text

--- util/Makefile.orig Mon Mar 15 04:47:13 2004
+++ util/Makefile Mon Mar 15 04:47:19 2004
@@ -14,7 +14,7 @@
#SunOS users (and others?) should consider static linking of their passwd binary
#CFLAGS= -O -I../cracklib '-DCRACKLIB_DICTPATH="$(DICTPATH)"' -Bstatic
-CFLAGS= -O -I../cracklib '-DCRACKLIB_DICTPATH="$(DICTPATH)"'
+CFLAGS+=-I../cracklib '-DCRACKLIB_DICTPATH="$(DICTPATH)"'
LIBS= ../cracklib/libcrack.a
all: packer unpacker testnum teststr testlib