openbsd-ports/geo/postgis/patches/patch-loader_Makefile

15 lines
622 B
Plaintext
Raw Normal View History

$OpenBSD: patch-loader_Makefile,v 1.1.1.1 2007/12/08 19:47:47 eric Exp $
--- loader/Makefile.orig Thu Sep 13 22:17:07 2007
+++ loader/Makefile Thu Sep 13 22:17:44 2007
@@ -13,8 +13,8 @@ OBJS = shpopen.o dbfopen.o getopt.o
#---------------------------------------------------------------
ifeq ($(USE_ICONV),1)
- override CFLAGS += -DUSE_ICONV
- override LDFLAGS += $(ICONV_LDFLAGS)
+ override CFLAGS += -I${LOCALBASE}/include -DUSE_ICONV
+ override LDFLAGS += -L${LOCALBASE}/lib $(ICONV_LDFLAGS)
endif
override CFLAGS := -g -Wall -I.. $(CFLAGS) -DUSE_VERSION=$(USE_VERSION) -DPOSTGIS_VERSION='"$(POSTGIS_VERSION)"'