freebsd-ports/print/kde_poster/files/patch-Makefile
Raphael Kubo da Costa e8b1b89949 - Fix the build when only clang is present
- Respect CFLAGS (bump PORTREVISION for consistency)
- Set LICENSE
- Support staging
- Do not silence the calls made in the do-install target
- Stop needlessly setting PKGNAMESUFFIX
2013-12-24 17:34:49 +00:00

13 lines
421 B
Text

--- Makefile.orig 2002-08-29 19:15:37.000000000 +0300
+++ Makefile 2013-12-24 19:18:30.000000000 +0200
@@ -1,8 +1,8 @@
-CFLAGS = -g -Wall
+#CFLAGS = -g -Wall
#CFLAGS = -O2 -Wall
poster: poster.c
- gcc $(CFLAGS) -o poster poster.c -lm
+ $(CC) $(CFLAGS) -o poster poster.c -lm
# HPUX: cc -O -Aa -D_POSIX_SOURCE -o poster poster.c -lm
# Note that this program might trigger a stupid bug in the HPUX C library,