summaryrefslogtreecommitdiff
path: root/databases/unixodbc
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2003-01-28 22:03:00 +0000
committerjlam <jlam@pkgsrc.org>2003-01-28 22:03:00 +0000
commitd7f69e47ce32be7271733bcdf48d28468f400ab9 (patch)
treed3bbe0e3f34c0d0b96c3bf5abf2964293c181c7b /databases/unixodbc
parent63fd8d49cc206089921ed7d972b87faff07efbe6 (diff)
downloadpkgsrc-d7f69e47ce32be7271733bcdf48d28468f400ab9.tar.gz
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 <jmmv at menta.net>.
Diffstat (limited to 'databases/unixodbc')
-rw-r--r--databases/unixodbc/Makefile4
1 files changed, 2 insertions, 2 deletions
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"