summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkristerw <kristerw>2005-07-08 19:15:25 +0000
committerkristerw <kristerw>2005-07-08 19:15:25 +0000
commitfdd5c64fc14e376e51b3a121838ab34441ea08d3 (patch)
tree58f0115ca94f290d010ab5eb4cb56c4bb8f3d40e
parent7c1ed6fa06800acbcc1e2dfd28f09cf8e4e23262 (diff)
downloadpkgsrc-fdd5c64fc14e376e51b3a121838ab34441ea08d3.tar.gz
This package does only work on NetBSD 1.5. Mark it as "unavailable"
instead of "broken" on other machines.
-rw-r--r--sysutils/fdgw/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysutils/fdgw/Makefile b/sysutils/fdgw/Makefile
index 9ca425aeb1a..679f683c41b 100644
--- a/sysutils/fdgw/Makefile
+++ b/sysutils/fdgw/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2005/03/02 15:10:59 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2005/07/08 19:15:25 kristerw Exp $
#
DISTNAME= fdgw-20020130
@@ -49,13 +49,13 @@ post-install:
.include "../../mk/bsd.prefs.mk"
-.if !exists(${X11BASE}/bin/lndir)
+.if !exists(${X11BASE}/bin/lndir) && ${OPSYS} == "NetBSD"
PKG_FAIL_REASON= "${PKGNAME} requires the 'lndir' command, and hence X11"
.endif
# we need the NetBSD source tree.
BSDSRCDIR?= /usr/src
-.if !exists(${BSDSRCDIR})
+.if !exists(${BSDSRCDIR}) && ${OPSYS} == "NetBSD"
PKG_FAIL_REASON+= "${PKGNAME} requires the NetBSD source tree in BSDSRCDIR (${BSDSRCDIR})"
.endif