$NetBSD: patch-ab,v 1.1.1.1 2005/12/30 23:03:05 agc Exp $ --- include/builddefs.in 2005/12/29 13:56:15 1.1 +++ include/builddefs.in 2005/12/29 13:59:14 @@ -116,6 +116,11 @@ PLDLIBS = -L/usr/local/lib -lintl PCFLAGS = -I/usr/local/include endif +ifeq ($(PKG_PLATFORM),netbsd) +PLDLIBS = -L${PREFIX}/lib -Wl,-R${PREFIX}/lib -lintl +PCFLAGS = -I${PREFIX}/include +endif + GCFLAGS = -O1 $(OPTIMIZER) $(DEBUG) -funsigned-char -fno-strict-aliasing -Wall \ -DVERSION=\"$(PKG_VERSION)\" -DLOCALEDIR=\"$(PKG_LOCALE_DIR)\" \