From 31bc14c6aef0443eee9f295a9eb427ccad5c9fc1 Mon Sep 17 00:00:00 2001 From: Yen-Ming Lee Date: Mon, 25 Oct 2004 16:17:36 +0000 Subject: [PATCH] - include LOCALBASE instead of PREFIX, and make this port PREFIX-clean --- devel/upnp/files/patch-src::api::makefile | 4 ++-- devel/upnp/files/patch-src::gena::Makefile | 2 +- devel/upnp104/files/patch-src::api::makefile | 4 ++-- devel/upnp104/files/patch-src::gena::Makefile | 2 +- 4 files changed, 6 insertions(+), 6 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 diff --git a/devel/upnp104/files/patch-src::api::makefile b/devel/upnp104/files/patch-src::api::makefile index f074359c76a7..6e45724c5e35 100644 --- a/devel/upnp104/files/patch-src::api::makefile +++ b/devel/upnp104/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/upnp104/files/patch-src::gena::Makefile b/devel/upnp104/files/patch-src::gena::Makefile index 5391f771e01d..9674cd45f921 100644 --- a/devel/upnp104/files/patch-src::gena::Makefile +++ b/devel/upnp104/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