ports/net/vncreflector/files/patch-Makefile
Mathieu Arnold 6172d4b590 Remove $FreeBSD$ from patches files everywhere.
With hat:	portmgr
Sponsored by:	Absolight
2015-05-22 20:34:27 +00:00

33 lines
709 B
Text

--- Makefile.orig
+++ Makefile
@@ -14,10 +14,10 @@
#
# Variables you might want to edit: CFLAGS, CONFFLAGS
-IFLAGS = -I.
+IFLAGS = -I%%LOCALBASE%%/include
# Production
-CFLAGS = -O2 $(IFLAGS)
+#CFLAGS = -O2 $(IFLAGS)
# Debug (strict)
#CFLAGS = -g -pedantic -Wall $(IFLAGS)
# Debug (profiling)
@@ -50,7 +50,7 @@
default: $(PROG)
$(PROG): $(OBJS)
- $(CC) $(CFLAGS) -o $(PROG) $(OBJS) $(LDFLAGS)
+ $(CC) $(CFLAGS) $(IFLAGS) -o $(PROG) $(OBJS) $(LDFLAGS)
clean:
rm -f $(OBJS) *core* ./*~ ./*.bak $(PROG)
@@ -59,7 +59,7 @@
$(MAKEDEPEND) $(MAKEDEPFLAGS) -I. $(SRCS) 2> /dev/null
.c.o:
- $(CC) $(CFLAGS) $(CONFFLAGS) -c $<
+ $(CC) $(CFLAGS) $(IFLAGS) $(CONFFLAGS) -c $<
# DO NOT DELETE