diff options
author | grant <grant> | 2003-04-11 14:33:49 +0000 |
---|---|---|
committer | grant <grant> | 2003-04-11 14:33:49 +0000 |
commit | 9cbad7df165403eef0c73e922cf348b738c01137 (patch) | |
tree | e5afb0567529061e631953e2eff57cf11d975e81 | |
parent | 4a16dbc3679c412309c7305647dae496cf9a256c (diff) | |
download | pkgsrc-9cbad7df165403eef0c73e922cf348b738c01137.tar.gz |
only include db1 support if on NetBSD. fixes updating problem on Solaris.
-rw-r--r-- | pkgtools/pkg_install/Makefile | 8 |
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$||} |