summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2016-11-25 13:35:33 +0000
committerjoerg <joerg@pkgsrc.org>2016-11-25 13:35:33 +0000
commit9cc35a2ab7be7967fd32f2c14c143670adc3f0dc (patch)
tree55d6bb25ff86308dfc5aea79410e0a118eaa5a18 /mk
parente5c2a61a699273965a496c03e866adf3c5f2c867 (diff)
downloadpkgsrc-9cc35a2ab7be7967fd32f2c14c143670adc3f0dc.tar.gz
Don't try to adjust BUILDLINK_INCDIRS.curses by a non existing prefix.
Diffstat (limited to 'mk')
-rw-r--r--mk/curses.builtin.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/curses.builtin.mk b/mk/curses.builtin.mk
index 0b4f4a9d169..7981c1b09a2 100644
--- a/mk/curses.builtin.mk
+++ b/mk/curses.builtin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: curses.builtin.mk,v 1.9 2015/09/08 11:36:34 jperkin Exp $
+# $NetBSD: curses.builtin.mk,v 1.10 2016/11/25 13:35:33 joerg Exp $
BUILTIN_PKG:= curses
@@ -153,7 +153,7 @@ CHECK_BUILTIN.curses?= no
. if !empty(USE_BUILTIN.curses:M[yY][eE][sS])
. if exists(${H_CURSES})
-BUILDLINK_INCDIRS.curses?= ${H_CURSES:H:S/^${BUILDLINK_PREFIX.curses}\///}
+BUILDLINK_INCDIRS.curses?= ${H_CURSES:H}
. endif
BUILDLINK_LIBNAME.curses= ${BUILTIN_LIBNAME.curses}
. endif