summaryrefslogtreecommitdiff
path: root/devel/upnp
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2004-10-25 16:17:36 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2004-10-25 16:17:36 +0000
commit31bc14c6aef0443eee9f295a9eb427ccad5c9fc1 (patch)
tree2814092eb4358ad2c65903f924dccff057674950 /devel/upnp
parentFix a botched patch on my part. Now that we're doing the substitution in (diff)
- include LOCALBASE instead of PREFIX, and make this port PREFIX-clean
Notes
Notes: svn path=/head/; revision=120165
Diffstat (limited to 'devel/upnp')
-rw-r--r--devel/upnp/files/patch-src::api::makefile4
-rw-r--r--devel/upnp/files/patch-src::gena::Makefile2
2 files changed, 3 insertions, 3 deletions
diff --git a/devel/upnp/files/patch-src::api::makefile b/devel/upnp/files/patch-src::api::makefile
index f074359c76a7..6e45724c5e35 100644
--- a/devel/upnp/files/patch-src::api::makefile
+++ b/devel/upnp/files/patch-src::api::makefile
@@ -6,8 +6,8 @@
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
++INCLUDES = -I ../inc -I ../../inc -I ../../inc/upnpdom -I ../inc/tools -I $(LOCALBASE)/include
++LIBS = ${PTHREAD_LIBS} -luuid -L$(LOCALBASE)/lib
ifeq ($(DEBUG),1)
CFLAGS += -g -O -DDEBUG
diff --git a/devel/upnp/files/patch-src::gena::Makefile b/devel/upnp/files/patch-src::gena::Makefile
index 5391f771e01d..9674cd45f921 100644
--- a/devel/upnp/files/patch-src::gena::Makefile
+++ b/devel/upnp/files/patch-src::gena::Makefile
@@ -5,7 +5,7 @@
TARGET = $(upnp_lib_dir)/gena.o
-CFLAGS = -I$(upnp_inc_dir) -I$(upnp_src_inc_dir) -fpic -Wall -c -D_REENTRANT
-+CFLAGS = -I$(upnp_inc_dir) -I$(upnp_src_inc_dir) -I$(PREFIX)/include -fpic -Wall -c -D_REENTRANT
++CFLAGS = -I$(upnp_inc_dir) -I$(upnp_src_inc_dir) -I$(LOCALBASE)/include -fpic -Wall -c -D_REENTRANT
ifeq ($(DEBUG),1)
CFLAGS += -g -O -DDEBUG