aboutsummaryrefslogtreecommitdiff
path: root/devel/upnp/files/patch-src::api::makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/upnp/files/patch-src::api::makefile')
-rw-r--r--devel/upnp/files/patch-src::api::makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/devel/upnp/files/patch-src::api::makefile b/devel/upnp/files/patch-src::api::makefile
new file mode 100644
index 000000000000..f074359c76a7
--- /dev/null
+++ b/devel/upnp/files/patch-src::api::makefile
@@ -0,0 +1,22 @@
+--- src/api/makefile.orig Fri Jun 15 08:21:33 2001
++++ src/api/makefile Sat Aug 3 16:29:38 2002
+@@ -34,15 +34,15 @@
+ CC = gcc
+ CFLAGS = -Wall -fpic $(DEFS)
+ C2FLAGS = -Wall $(DEFS) -shared -Wl,-soname,libupnp.so
+-INCLUDES = -I ../inc -I ../../inc -I ../../inc/upnpdom -I ../inc/tools
+-LIBS = -lpthread -luuid
++INCLUDES = -I ../inc -I ../../inc -I ../../inc/upnpdom -I ../inc/tools -I $(PREFIX)/include
++LIBS = ${PTHREAD_LIBS} -luuid -L$(PREFIX)/lib
+
+ ifeq ($(DEBUG),1)
+ CFLAGS += -g -O -DDEBUG
+ C2FLAGS += -g -O -DDEBUG
+ else
+-CFLAGS += -O2
+-C2FLAGS += -O2
++CFLAGS += -g -ggdb
++C2FLAGS += -g -ggdb
+ endif
+
+ objects = upnpapi.o config.o ../lib/ssdp.o ../lib/soap.o \