pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   joerg
Date:           Tue Dec 20 15:06:52 UTC 2016

Modified Files:
        pkgsrc/devel/ncurses: builtin.mk
        pkgsrc/devel/ncursesw: builtin.mk

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


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 pkgsrc/devel/ncurses/builtin.mk
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/ncursesw/builtin.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/ncurses/builtin.mk
diff -u pkgsrc/devel/ncurses/builtin.mk:1.38 pkgsrc/devel/ncurses/builtin.mk:1.39
--- pkgsrc/devel/ncurses/builtin.mk:1.38        Sun Dec 18 23:30:34 2016
+++ pkgsrc/devel/ncurses/builtin.mk     Tue Dec 20 15:06:52 2016
@@ -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_TARGETS+=                buildlink-ncurses-e
 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

Index: pkgsrc/devel/ncursesw/builtin.mk
diff -u pkgsrc/devel/ncursesw/builtin.mk:1.12 pkgsrc/devel/ncursesw/builtin.mk:1.13
--- pkgsrc/devel/ncursesw/builtin.mk:1.12       Sun Dec 18 23:30:34 2016
+++ pkgsrc/devel/ncursesw/builtin.mk    Tue Dec 20 15:06:52 2016
@@ -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_CPPFLAGS.ncursesw+=      -DHAVE_WCH
 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