mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
- respect CC
This commit is contained in:
parent
8a668d4551
commit
3cab4a5404
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=188978
@ -1,7 +1,7 @@
|
||||
--- Makefile.orig Thu May 2 23:53:12 2002
|
||||
+++ Makefile Sat Aug 3 22:10:53 2002
|
||||
@@ -1,6 +1,6 @@
|
||||
CC=g++
|
||||
--- Makefile.orig Sat Dec 14 06:16:22 2002
|
||||
+++ Makefile Mon Apr 2 14:54:39 2007
|
||||
@@ -1,6 +1,5 @@
|
||||
-CC=g++
|
||||
-INCLUDES= -I/usr/include/upnp
|
||||
-LIBS= -lpthread /usr/lib/libupnp.so
|
||||
+INCLUDES= -I$(LOCALBASE)/include
|
||||
@ -9,7 +9,19 @@
|
||||
|
||||
|
||||
ifeq ($(DEBUG),1)
|
||||
@@ -26,6 +26,6 @@
|
||||
@@ -16,17 +15,17 @@
|
||||
all: $(APPS)
|
||||
|
||||
upnpd: gate.o gateway.o sample_util.o ipcon.o portmap.o pmlist.o
|
||||
- $(CC) $(CFLAGS) gate.o gateway.o sample_util.o ipcon.o portmap.o pmlist.o $(LIBS) -o $@
|
||||
+ $(CXX) $(CFLAGS) gate.o gateway.o sample_util.o ipcon.o portmap.o pmlist.o $(LIBS) -o $@
|
||||
@echo "make $@ finished on `date`"
|
||||
|
||||
%.o: %.cpp
|
||||
- $(CC) $(CFLAGS) $(INCLUDES) -c $<
|
||||
+ $(CXX) $(CFLAGS) $(INCLUDES) -c $<
|
||||
|
||||
clean:
|
||||
rm -f *.o $(APPS)
|
||||
|
||||
install: upnpd
|
||||
@ -19,3 +31,4 @@
|
||||
+ @install -d $(PREFIX)/etc/linuxigd
|
||||
+ @$(BSD_INSTALL_DATA) etc/* $(PREFIX)/etc/linuxigd
|
||||
+ @$(BSD_INSTALL_PROGRAM) upnpd $(PREFIX)/bin
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user