diff options
author | abs <abs@pkgsrc.org> | 2002-01-01 18:32:51 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2002-01-01 18:32:51 +0000 |
commit | 318556c7ffc739f0471242073008456ec71af0e4 (patch) | |
tree | 835fa29356813f332ee30b2e4e2e27e73e0ad6d7 /pkgtools/x11-links | |
parent | cf7225d55f5351cf46f41ca63e47e766b38e1b54 (diff) | |
download | pkgsrc-318556c7ffc739f0471242073008456ec71af0e4.tar.gz |
If we are missing ${X11BASE}/include/X11/X.h, we're not going far
Diffstat (limited to 'pkgtools/x11-links')
-rw-r--r-- | pkgtools/x11-links/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgtools/x11-links/Makefile b/pkgtools/x11-links/Makefile index 221a376da5b..ded70f750ff 100644 --- a/pkgtools/x11-links/Makefile +++ b/pkgtools/x11-links/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2001/12/21 16:22:53 jlam Exp $ +# $NetBSD: Makefile,v 1.8 2002/01/01 18:32:51 abs Exp $ # # NOTE: If you update this package, then you'll likely need to also update # the x11-links dependency in x11.buildlink.mk to the correct version, @@ -25,6 +25,12 @@ BUILDLINK_X11_SUBDIR= share/x11-links _FOR_X11_LINKS_ONLY=- # needed to use x11-links/buildlink.mk +.include "../../mk/bsd.prefs.mk" + +.if !exists(${X11BASE}/include/X11/X.h) +IGNORE= "x11-links requires X headers to be installed" +.endif + do-install: ${INSTALL_DATA_DIR} ${PREFIX}/${BUILDLINK_X11_SUBDIR} cd ${BUILDLINK_DIR} && \ |