diff options
author | bjs <bjs@pkgsrc.org> | 2007-12-24 18:57:49 +0000 |
---|---|---|
committer | bjs <bjs@pkgsrc.org> | 2007-12-24 18:57:49 +0000 |
commit | e88bbbb99b40e24ba37f781f34def73804796586 (patch) | |
tree | 71d93d7b8be88be0013ddb4de199d85a49bfedda | |
parent | 085527c18cd192e9ff8fda53b18b82112321a448 (diff) | |
download | pkgsrc-e88bbbb99b40e24ba37f781f34def73804796586.tar.gz |
Add logic gleefully ripped from x11/Xaw3d/buildlink3.mk to make these
libraries work properly with xaw.buildlink3.mk. That's better!
This was done so that X/Open Curses (pkgsrc-wip/pdcurses) could
have a chance of using these libraries. ;)
-rw-r--r-- | x11/Xaw-Xpm/buildlink3.mk | 15 | ||||
-rw-r--r-- | x11/neXtaw/buildlink3.mk | 14 |
2 files changed, 26 insertions, 3 deletions
diff --git a/x11/Xaw-Xpm/buildlink3.mk b/x11/Xaw-Xpm/buildlink3.mk index d0e0977fc3b..1e61f3cc301 100644 --- a/x11/Xaw-Xpm/buildlink3.mk +++ b/x11/Xaw-Xpm/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.11 2006/12/27 13:37:42 joerg Exp $ +# $NetBSD: buildlink3.mk,v 1.12 2007/12/24 18:57:49 bjs Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ XAW_XPM_BUILDLINK3_MK:= ${XAW_XPM_BUILDLINK3_MK}+ @@ -15,9 +15,20 @@ BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}Xaw-Xpm BUILDLINK_API_DEPENDS.Xaw-Xpm+= Xaw-Xpm>=1.1 BUILDLINK_ABI_DEPENDS.Xaw-Xpm?= Xaw-Xpm>=1.1nb2 BUILDLINK_PKGSRCDIR.Xaw-Xpm?= ../../x11/Xaw-Xpm -.endif # XAW_XPM_BUILDLINK3_MK .include "../../mk/bsd.fast.prefs.mk" + +.if ${X11_TYPE} == "modular" +.PHONY: buildlink-Xaw_Xpm-inc-hack +buildlink-Xaw-Xpm-cookie: buildlink-Xaw-Xpm-inc-hack + +buildlink-Xaw-Xpm-inc-hack: buildlink-directories + [ ! -h ${BUILDLINK_DIR}/include/X11/Xaw ] && \ + ${MKDIR} ${BUILDLINK_DIR}/include/X11 && \ + ${LN} -s Xaw3d ${BUILDLINK_DIR}/include/X11/Xaw +.endif +.endif # XAW_XPM_BUILDLINK3_MK + .include "../../x11/libXpm/buildlink3.mk" LIBXAW?= -L${BUILDLINK_PREFIX.Xaw-Xpm}/lib \ diff --git a/x11/neXtaw/buildlink3.mk b/x11/neXtaw/buildlink3.mk index 4e166c148a0..abf6dec0a62 100644 --- a/x11/neXtaw/buildlink3.mk +++ b/x11/neXtaw/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.11 2007/01/30 21:00:31 joerg Exp $ +# $NetBSD: buildlink3.mk,v 1.12 2007/12/24 18:57:49 bjs Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ NEXTAW_BUILDLINK3_MK:= ${NEXTAW_BUILDLINK3_MK}+ @@ -15,6 +15,18 @@ BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}neXtaw BUILDLINK_API_DEPENDS.neXtaw+= neXtaw>=0.15.1 BUILDLINK_ABI_DEPENDS.neXtaw+= neXtaw>=0.15.1nb2 BUILDLINK_PKGSRCDIR.neXtaw?= ../../x11/neXtaw + +.include "../../mk/bsd.fast.prefs.mk" + +.if ${X11_TYPE} == "modular" +.PHONY: buildlink-neXtaw-inc-hack +buildlink-neXtaw-cookie: buildlink-neXtaw-inc-hack + +buildlink-neXtaw-inc-hack: buildlink-directories + [ ! -h ${BUILDLINK_DIR}/include/X11/Xaw ] && \ + ${MKDIR} ${BUILDLINK_DIR}/include/X11 && \ + ${LN} -s neXtaw ${BUILDLINK_DIR}/include/X11/Xaw +.endif .endif # NEXTAW_BUILDLINK3_MK .include "../../mk/bsd.fast.prefs.mk" |