aboutsummaryrefslogtreecommitdiffstats
path: root/devel/upnp
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2004-10-26 00:17:36 +0800
committerleeym <leeym@FreeBSD.org>2004-10-26 00:17:36 +0800
commit5d629c0d02da96bac8fc1d80669c4b74af24fb33 (patch)
treed3f6ad90c0c83640dc58a2a0ed53bdb1a0fb9064 /devel/upnp
parentdea75fe84ff277c17514b6069c36c0ad460328f3 (diff)
downloadfreebsd-ports-gnome-5d629c0d02da96bac8fc1d80669c4b74af24fb33.tar.gz
freebsd-ports-gnome-5d629c0d02da96bac8fc1d80669c4b74af24fb33.tar.zst
freebsd-ports-gnome-5d629c0d02da96bac8fc1d80669c4b74af24fb33.zip
- include LOCALBASE instead of PREFIX, and make this port PREFIX-clean
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