summaryrefslogtreecommitdiff
path: root/net/libnatpmp/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/libnatpmp/files/patch-Makefile')
-rw-r--r--net/libnatpmp/files/patch-Makefile34
1 files changed, 0 insertions, 34 deletions
diff --git a/net/libnatpmp/files/patch-Makefile b/net/libnatpmp/files/patch-Makefile
deleted file mode 100644
index bee078f38b33..000000000000
--- a/net/libnatpmp/files/patch-Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
---- ./Makefile.orig 2012-08-21 19:24:15.000000000 +0200
-+++ ./Makefile 2014-04-17 15:33:06.454854016 +0200
-@@ -5,7 +5,7 @@
- # http://miniupnp.free.fr/libnatpmp.html
-
- OS = $(shell uname -s)
--CC = gcc
-+CC ?= gcc
- INSTALL = install
-
- # APIVERSION is used in soname
-@@ -61,14 +61,14 @@
- makedepend -f$(MAKEFILE_LIST) -Y $(OBJS:.o=.c) 2>/dev/null
-
- install: $(HEADERS) $(STATICLIB) $(SHAREDLIB) natpmpc-shared
-- $(INSTALL) -d $(INSTALLDIRINC)
-- $(INSTALL) -m 644 $(HEADERS) $(INSTALLDIRINC)
-- $(INSTALL) -d $(INSTALLDIRLIB)
-- $(INSTALL) -m 644 $(STATICLIB) $(INSTALLDIRLIB)
-- $(INSTALL) -m 644 $(SHAREDLIB) $(INSTALLDIRLIB)/$(SONAME)
-- $(INSTALL) -d $(INSTALLDIRBIN)
-- $(INSTALL) -m 755 natpmpc-shared $(INSTALLDIRBIN)/natpmpc
-- ln -s -f $(SONAME) $(INSTALLDIRLIB)/$(SHAREDLIB)
-+ $(INSTALL) -d $(DESTDIR)$(INSTALLDIRINC)
-+ $(INSTALL) -m 644 $(HEADERS) $(DESTDIR)$(INSTALLDIRINC)
-+ $(INSTALL) -d $(DESTDIR)$(INSTALLDIRLIB)
-+ $(INSTALL) -m 644 $(STATICLIB) $(DESTDIR)$(INSTALLDIRLIB)
-+ $(INSTALL) -m 644 $(SHAREDLIB) $(DESTDIR)$(INSTALLDIRLIB)/$(SONAME)
-+ $(INSTALL) -d $(DESTDIR)$(INSTALLDIRBIN)
-+ $(INSTALL) -m 755 natpmpc-shared $(DESTDIR)$(INSTALLDIRBIN)/natpmpc
-+ ln -s -f $(SONAME) $(DESTDIR)$(INSTALLDIRLIB)/$(SHAREDLIB)
-
- cleaninstall:
- $(RM) $(addprefix $(INSTALLDIRINC), $(HEADERS))