diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2007-04-02 07:07:30 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2007-04-02 07:07:30 +0000 |
commit | 3cab4a5404bd5924c1b794c6cb079344cdf12ea2 (patch) | |
tree | 96249fac9e1b767a6169b8f838b2c8f90bf0503a /net/linuxigd/files/patch-Makefile | |
parent | - Correct pkg-plist for newer fontconfig (diff) |
- respect CC
Notes
Notes:
svn path=/head/; revision=188978
Diffstat (limited to 'net/linuxigd/files/patch-Makefile')
-rw-r--r-- | net/linuxigd/files/patch-Makefile | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/net/linuxigd/files/patch-Makefile b/net/linuxigd/files/patch-Makefile index 690e1ae903bc..22a6a43af300 100644 --- a/net/linuxigd/files/patch-Makefile +++ b/net/linuxigd/files/patch-Makefile @@ -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 + |