1 $NetBSD: patch-ab,v 1.1.1.1 2005/12/30 23:03:05 agc Exp $
3 --- include/builddefs.in.orig 2005-10-07 16:51:34.000000000 +0000
4 +++ include/builddefs.in
5 @@ -116,6 +116,11 @@ ifeq ($(PKG_PLATFORM),freebsd)
6 PLDLIBS = -L/usr/local/lib -lintl
7 PCFLAGS = -I/usr/local/include
9 +ifeq ($(PKG_PLATFORM),netbsd)
10 +PLDLIBS = -L${PREFIX}/lib -Wl,-R${PREFIX}/lib -lintl
11 +PCFLAGS = -I${PREFIX}/include
15 GCFLAGS = -O1 $(OPTIMIZER) $(DEBUG) -funsigned-char -fno-strict-aliasing -Wall \
16 -DVERSION=\"$(PKG_VERSION)\" -DLOCALEDIR=\"$(PKG_LOCALE_DIR)\" \