freebsd-ports/security/cracklib/files/patch-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

26 lines
775 B
Text

--- Makefile.orig Wed Dec 31 02:33:53 1997
+++ Makefile Mon Mar 15 04:46:29 2004
@@ -9,12 +9,12 @@
###
# set this to the absolute path (less extn) of compressed dict.
-DICTPATH="/usr/local/lib/pw_dict"
+DICTPATH="/usr/local/libdata/cracklib/pw_dict"
###
# Set this to the path of one or more files continaing wordlists.
-SRCDICTS=/usr/dict/words
+SRCDICTS=/usr/share/dict/words
###
# If you have installed the cracklib-dicts directory, use this
@@ -24,7 +24,7 @@
@echo "you evidently don't know what you're doing. go read the README"
all:
- ( cd cracklib && make && exit $$? )
+ ( cd cracklib && make all && exit $$? )
( cd util && make DICTPATH=$(DICTPATH) && exit $$? )
### ( cd passwd && make DICTPATH=$(DICTPATH) passwd && exit $$? )
### touch all