pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel For the sake of cmake and other tools that like ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c96bed7ba814
branches:  trunk
changeset: 356171:c96bed7ba814
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Dec 20 15:06:52 2016 +0000

description:
For the sake of cmake and other tools that like to look for physical
files, create dummy libraries for libform and co.

diffstat:

 devel/ncurses/builtin.mk  |  11 ++++++++++-
 devel/ncursesw/builtin.mk |  11 ++++++++++-
 2 files changed, 20 insertions(+), 2 deletions(-)

diffs (50 lines):

diff -r 93e5b717f000 -r c96bed7ba814 devel/ncurses/builtin.mk
--- a/devel/ncurses/builtin.mk  Tue Dec 20 14:20:27 2016 +0000
+++ b/devel/ncurses/builtin.mk  Tue Dec 20 15:06:52 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.38 2016/12/18 23:30:34 joerg Exp $
+# $NetBSD: builtin.mk,v 1.39 2016/12/20 15:06:52 joerg Exp $
 
 BUILTIN_PKG:=  ncurses
 
@@ -158,6 +158,15 @@
 BUILDLINK_TRANSFORM+=          l:form:gnuform
 BUILDLINK_TRANSFORM+=          l:panel:gnupanel
 BUILDLINK_TRANSFORM+=          l:menu:gnumenu
+
+.PHONY: buildlink-ncurses-fake-libs
+buildlink-ncurses-fake-libs:
+       ${RUN}                                                          \
+       for f in form panel menu; do                                    \
+               ${ECHO_BUILDLINK_MSG} "Touching fake ncurses library ($$f)"; \
+               ${TOUCH} ${TOUCH_FLAGS} "$BUILDLINK_DIR/lib/lib$$f.a"; \
+       done
+BUILDLINK_TARGET+=     buildlink-ncurses-fake-libs
 .  endif
 
 # A full ncurses implementation provides more headers than some curses
diff -r 93e5b717f000 -r c96bed7ba814 devel/ncursesw/builtin.mk
--- a/devel/ncursesw/builtin.mk Tue Dec 20 14:20:27 2016 +0000
+++ b/devel/ncursesw/builtin.mk Tue Dec 20 15:06:52 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.12 2016/12/18 23:30:34 joerg Exp $
+# $NetBSD: builtin.mk,v 1.13 2016/12/20 15:06:52 joerg Exp $
 
 BUILTIN_PKG:=  ncursesw
 
@@ -121,6 +121,15 @@
 BUILDLINK_TRANSFORM+=          l:formw:gnuformw
 BUILDLINK_TRANSFORM+=          l:panelw:gnupanelw
 BUILDLINK_TRANSFORM+=          l:menuw:gnumenuw
+
+.PHONY: buildlink-ncursesw-fake-libs
+buildlink-ncursesw-fake-libs:
+       ${RUN}                                                          \
+       for f in form panel menu; do                                    \
+               ${ECHO_BUILDLINK_MSG} "Touching fake ncurses library ($$f)"; \
+               ${TOUCH} ${TOUCH_FLAGS} "$BUILDLINK_DIR/lib/lib$${f}w.a"; \
+       done
+BUILDLINK_TARGET+=     buildlink-ncursesw-fake-libs
 .  endif
 
 # According to the ncurses(3) manual page, applications that want to use



Home | Main Index | Thread Index | Old Index