Files
ports/security/john/files/patch-Makefile
T
Emanuel Haupt 92eaeee9b4 - Update to 1.6.40
- Be more picky about whats PORTDOCS and what not
- Moved john.conf from ${DATADIR} to ${PREFIX}/etc
- Preserve existing/changed config file on install/deinstall
- Remove files/patch-john.conf
2005-12-31 04:28:08 +00:00

28 lines
493 B
Plaintext

--- Makefile.orig Mon Dec 12 19:53:36 2005
+++ Makefile Sat Dec 31 01:30:01 2005
@@ -3,10 +3,10 @@
# Copyright (c) 1996-2005 by Solar Designer
#
-CPP = gcc
-CC = gcc
-AS = gcc
-LD = gcc
+CC ?= gcc
+CPP = $(CC)
+AS = $(CC)
+LD = $(CC)
CP = cp
LN = ln -sf
RM = rm -f
@@ -15,7 +15,8 @@
PERL = perl
NULL = /dev/null
CPPFLAGS = -E
-CFLAGS = -c -Wall -O2 -fomit-frame-pointer
+CFLAGS ?= -O2
+CFLAGS += -c -Wall -fomit-frame-pointer
ASFLAGS = -c
LDFLAGS = -s
OPT_NORMAL = -funroll-loops