diff options
author | krion <krion@FreeBSD.org> | 2004-02-13 15:17:15 +0000 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-02-13 15:17:15 +0000 |
commit | ec9c51ebe9da9f20af0f5280090655362e3002e1 (patch) | |
tree | 6e672c45840f6f64cb2cd2469e7a61af611aecf9 /www/chpasswd/files | |
parent | 701fbb42278135d6a0028161fa4293ce18b619a6 (diff) | |
download | FreeBSD-ports-ec9c51ebe9da9f20af0f5280090655362e3002e1.zip FreeBSD-ports-ec9c51ebe9da9f20af0f5280090655362e3002e1.tar.gz |
- Fix installation: create missing directory
- Use PLIST_*
- Respect CC & CFLAGS
- Doesn't need gmake
- Don't create unsafe log file, print post-install
message instead.
PR: ports/62787 ports/62691
Submitted by: maintainer, Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
Diffstat (limited to 'www/chpasswd/files')
-rw-r--r-- | www/chpasswd/files/patch-Makefile.in | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/www/chpasswd/files/patch-Makefile.in b/www/chpasswd/files/patch-Makefile.in new file mode 100644 index 0000000..3db8991 --- /dev/null +++ b/www/chpasswd/files/patch-Makefile.in @@ -0,0 +1,27 @@ +--- Makefile.in.orig Wed Feb 11 14:56:26 2004 ++++ Makefile.in Wed Feb 11 14:57:15 2004 +@@ -1,13 +1,13 @@ + # Makefile.in for chpasswd.cgi + +-CC = gcc ++CC ?= gcc + LANGUAGE = @LANGUAGE@ + CGIDIR = @CGIDIR@ + SRCDIR = . + VPATH = . + INSTALL = cp + LIBCRYPT = @CRYPTLIB@ +-CFLAGS = -O2 -w $(DEFINES) ++CFLAGS += -w $(DEFINES) + PREFIX = @prefix@ + DEFS = -I. @DEFS@ -DPREFIX=\"@prefix@\" + +@@ -43,7 +43,7 @@ + @if test ! -f $(PREFIX)/chpasswd.log; then \ + echo "touch $(PREFIX)/chpasswd.log"; \ + touch $(PREFIX)/chpasswd.log; \ +- chmod 777 $(PREFIX)/chpasswd.log; \ ++ chmod 775 $(PREFIX)/chpasswd.log; \ + fi + + uninstall: |