diff options
author | abs <abs> | 2002-01-01 18:32:51 +0000 |
---|---|---|
committer | abs <abs> | 2002-01-01 18:32:51 +0000 |
commit | d84d8570dbb406f6520c41d0a43270e69b9e20b8 (patch) | |
tree | 835fa29356813f332ee30b2e4e2e27e73e0ad6d7 /pkgtools/x11-links | |
parent | 9c6e19663e13c926d25cf4e4c23ee1675caa5665 (diff) | |
download | pkgsrc-d84d8570dbb406f6520c41d0a43270e69b9e20b8.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} && \ |