summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-04-11 14:33:49 +0000
committergrant <grant@pkgsrc.org>2003-04-11 14:33:49 +0000
commit0c37d26cfe34cbb64c402917dce85cfb831850df (patch)
treee5afb0567529061e631953e2eff57cf11d975e81 /pkgtools
parent09b6d0bcfac40ed4e2ad3b9543b12e608f19791d (diff)
downloadpkgsrc-0c37d26cfe34cbb64c402917dce85cfb831850df.tar.gz
only include db1 support if on NetBSD. fixes updating problem on Solaris.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkg_install/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgtools/pkg_install/Makefile b/pkgtools/pkg_install/Makefile
index 0b78bbc30d8..e3991acded5 100644
--- a/pkgtools/pkg_install/Makefile
+++ b/pkgtools/pkg_install/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.70 2003/03/28 21:14:27 wiz Exp $
+# $NetBSD: Makefile,v 1.71 2003/04/11 14:33:49 grant Exp $
# Notes to package maintainers:
#
@@ -53,7 +53,11 @@ post-install:
${PKG_ADMIN} rebuild ; \
fi
-.include "../../databases/db/buildlink2.mk"
+# db1 support is only known to work on NetBSD, so we leave it out for
+# on other platforms.
+.if ${OPSYS} == "NetBSD"
+. include "../../databases/db/buildlink2.mk"
+.endif
.include "../../mk/bsd.pkg.mk"
PREFIX:= ${PKG_TOOLS_BIN:C|/[^/]?bin$||}