summaryrefslogtreecommitdiff
path: root/databases/unixodbc
diff options
context:
space:
mode:
authorjlam <jlam>2001-11-25 18:59:45 +0000
committerjlam <jlam>2001-11-25 18:59:45 +0000
commitf42b4eba2e16017f50f5f4d0887b99e063db6a06 (patch)
tree78f3dfe5e355bfe3bf2e730202f3d29cb7da98d5 /databases/unixodbc
parentdf91cd1f43a70757a4b18c4c6d49d259eeeb2b16 (diff)
downloadpkgsrc-f42b4eba2e16017f50f5f4d0887b99e063db6a06.tar.gz
PKG_SYSCONFDIR is where the configuration files for a package may be found.
This value may be customized in various ways: PKG_SYSCONFBASE is the main config directory under which all package configuration files are to be found. PKG_SYSCONFSUBDIR is the subdirectory of PKG_SYSCONFBASE under which the configuration files for a particular package may be found. PKG_SYSCONFDIR.${PKGBASE} overrides the value of ${PKG_SYSCONFDIR} for a particular package. Users will typically want to set PKG_SYSCONFBASE to /etc, or accept the default location of ${PREFIX}/etc. This obsoletes the use of CONFDIR, which was active for only 6 days, so no need to have a workaround to still accept old CONFDIR settings.
Diffstat (limited to 'databases/unixodbc')
-rw-r--r--databases/unixodbc/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/databases/unixodbc/Makefile b/databases/unixodbc/Makefile
index 4bde02d67a2..9f9418bf4bf 100644
--- a/databases/unixodbc/Makefile
+++ b/databases/unixodbc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2001/11/19 16:23:09 jlam Exp $
+# $NetBSD: Makefile,v 1.3 2001/11/25 18:59:46 jlam Exp $
PKGNAME= unixodbc-${ODBC_VERS}
ODBC_PKG_VERS= # empty
@@ -16,9 +16,9 @@ FILES_SUBST+= UNIXODBC_DRIVERS_DIR=${UNIXODBC_DRIVERS_DIR}
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
-CONF_FILES= ${EGDIR}/odbcinst.ini ${CONFDIR}/odbcinst.ini
-CONF_FILES+= /dev/null ${CONFDIR}/odbc.ini
-OWN_DIRS= ${CONFDIR}/ODBCDataSources
+CONF_FILES= ${EGDIR}/odbcinst.ini ${PKG_SYSCONFDIR}/odbcinst.ini
+CONF_FILES+= /dev/null ${PKG_SYSCONFDIR}/odbc.ini
+OWN_DIRS= ${PKG_SYSCONFDIR}/ODBCDataSources
post-patch: fix-driver-installation