From d7f69e47ce32be7271733bcdf48d28468f400ab9 Mon Sep 17 00:00:00 2001 From: jlam Date: Tue, 28 Jan 2003 22:03:00 +0000 Subject: Instead of including bsd.pkg.install.mk directly in a package Makefile, have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set to "YES". This enforces the requirement that bsd.pkg.install.mk be included at the end of a package Makefile. Idea suggested by Julio M. Merino Vidal . --- databases/unixodbc/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'databases/unixodbc') diff --git a/databases/unixodbc/Makefile b/databases/unixodbc/Makefile index 3c1ee8a0e3b..37e7f96d994 100644 --- a/databases/unixodbc/Makefile +++ b/databases/unixodbc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2002/09/20 21:26:30 jlam Exp $ +# $NetBSD: Makefile,v 1.9 2003/01/28 22:03:13 jlam Exp $ PKGNAME= unixodbc-${ODBC_BASE_VERS} PKGREVISION= 1 @@ -8,6 +8,7 @@ CONFLICTS+= iodbc-[0-9]* .include "../../databases/unixodbc/Makefile.common" +USE_PKGINSTALL= yes CONFIGURE_ARGS+= --disable-gui PLIST_SUBST+= UNIXODBC_DRIVERS_DIR=${UNIXODBC_DRIVERS_DIR} @@ -30,5 +31,4 @@ post-install: ${INSTALL_DATA} ${WRKDIR}/odbcinst.ini ${EGDIR}/odbcinst.ini .include "../../devel/readline/buildlink2.mk" -.include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3