summaryrefslogtreecommitdiffstats
path: root/devel/newt
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2006-10-09 12:02:48 +0000
committerperky <perky@FreeBSD.org>2006-10-09 12:02:48 +0000
commitc633019bc19f7954bc7e446f8a70696d51219b96 (patch)
tree4a0b021ca762e64db38bc728bbdea00bdb1df303 /devel/newt
parent58eb5142439be16be367ecf179836b82197a21fa (diff)
downloadFreeBSD-ports-c633019bc19f7954bc7e446f8a70696d51219b96.zip
FreeBSD-ports-c633019bc19f7954bc7e446f8a70696d51219b96.tar.gz
Fix build on environments with ncurses port.
PR: 100830 Submitted by: Matthias Fechner <idefix@fechner.net>, Thomas Dickey <dickey@his.com>
Diffstat (limited to 'devel/newt')
-rw-r--r--devel/newt/files/patch-ab4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/newt/files/patch-ab b/devel/newt/files/patch-ab
index 10ff835..788978b 100644
--- a/devel/newt/files/patch-ab
+++ b/devel/newt/files/patch-ab
@@ -12,8 +12,8 @@
-ifeq ($(RPM_OPT_FLAGS),)
-CFLAGS += -g
-endif
-+CFLAGS += -I${LOCALBASE}/include -I${PREFIX}/include
-+LDFLAGS += -L${LOCALBASE}/lib -L${PREFIX}/lib
++CFLAGS += -I/usr/include -I${LOCALBASE}/include -I${PREFIX}/include
++LDFLAGS += -L/usr/lib -L${LOCALBASE}/lib -L${PREFIX}/lib
VERSION = @VERSION@
CVSTAG = r$(subst .,-,$(VERSION))
OpenPOWER on IntegriCloud