ports/security/rarcrack/files/patch-Makefile
Philippe Audeoud ef8dbebe46 - Fix COMMENT
- Respect CC, CFLAGS, PTHREAD_CFLAGS, and PTHREAD_LIBS
- While I'm here, update maintainer address

PR: ports/121450
Submitted by: bf <bf2006a@yahoo.com>
Approved by: tabthorpe (co-mentor)
2008-03-07 13:24:37 +00:00

13 lines
401 B
Text

--- Makefile.orig 2008-03-06 16:07:47.515693827 -0500
+++ Makefile 2008-03-06 16:11:38.132897689 -0500
@@ -1,9 +1,5 @@
-CC=gcc
-PREFIX=/usr
-DOCDIR=${PREFIX}/share/doc/rarcrack
-
all:
- ${CC} -pthread rarcrack.c `xml2-config --libs --cflags` -O2 -o rarcrack
+ ${CC} rarcrack.c `xml2-config --libs --cflags` ${CFLAGS} ${PTHREAD_CFLAGS} ${PTHREAD_LIBS} -o rarcrack
clean:
-rm *.o rarcrack
install: