aboutsummaryrefslogtreecommitdiff
path: root/devel/newt
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2006-10-09 12:02:48 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2006-10-09 12:02:48 +0000
commit1b2b234ce8106d772c1e1abb40690678dfab0bfe (patch)
tree2175a1d20b2cf5dac825f7f4e537ae57472d0ff2 /devel/newt
parentaecd49b51943d5731ed5f51c51e47712efecbba7 (diff)
downloadports-1b2b234ce8106d772c1e1abb40690678dfab0bfe.tar.gz
ports-1b2b234ce8106d772c1e1abb40690678dfab0bfe.zip
Fix build on environments with ncurses port.
PR: 100830 Submitted by: Matthias Fechner <idefix@fechner.net>, Thomas Dickey <dickey@his.com>
Notes
Notes: svn path=/head/; revision=175073
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 10ff8359f94f..788978b5851b 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))