diff options
Diffstat (limited to 'textproc/GutenMark/patches/patch-Makefile')
-rw-r--r-- | textproc/GutenMark/patches/patch-Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/textproc/GutenMark/patches/patch-Makefile b/textproc/GutenMark/patches/patch-Makefile new file mode 100644 index 00000000000..ae3b1926bc4 --- /dev/null +++ b/textproc/GutenMark/patches/patch-Makefile @@ -0,0 +1,15 @@ +$NetBSD: patch-Makefile,v 1.1 2011/11/29 06:21:02 sbd Exp $ + +Honor CFLAGS and LDFLAGS from pkgsrc. + +--- Makefile.orig 2009-05-10 12:11:21.000000000 +0000 ++++ Makefile +@@ -257,7 +257,7 @@ snapshot2: source-snapshot all-archs2 + # and I guess you'll want to substitute "gcc" for "cc". The reason it's + # set to "cc" rather than directly to "gcc" is for the benefit of MacOS-X. + GutenMark: $(SOURCES) AutoMark.h +- ${CC} ${ARCH32} -O3 -Wall -funsigned-char \ ++ ${CC} ${CFLAGS} ${LDFLAGS} ${ARCH32} -O3 -Wall -funsigned-char \ + -o GutenMark $(SOURCES) -lz + strip $@ + ./GutenMark bldhb10.txt bldhb10.html |