summaryrefslogtreecommitdiff
path: root/databases/unixodbc/Makefile
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2006-01-23 20:50:47 +0000
committerxtraeme <xtraeme>2006-01-23 20:50:47 +0000
commit915bd915d27e1fe020d4fc988c5a524a176c2b86 (patch)
tree65e2a8b77ee2d795abefaef7e8029ccb88320065 /databases/unixodbc/Makefile
parent3c9f1cceebf5e153a3fb5ee8c615e7a8ee22725a (diff)
downloadpkgsrc-915bd915d27e1fe020d4fc988c5a524a176c2b86.tar.gz
Update unixodbc-* packages to 2.2.11 (latest stable version).
See http://www.unixodbc.org/ for the list of changes... sorry but this package was not updated in 5 years, the list might be very large!
Diffstat (limited to 'databases/unixodbc/Makefile')
-rw-r--r--databases/unixodbc/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/databases/unixodbc/Makefile b/databases/unixodbc/Makefile
index 939804dd9e6..cf23f7f2201 100644
--- a/databases/unixodbc/Makefile
+++ b/databases/unixodbc/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2006/01/06 18:36:52 joerg Exp $
+# $NetBSD: Makefile,v 1.18 2006/01/23 20:50:47 xtraeme Exp $
PKGNAME= unixodbc-${ODBC_BASE_VERS}
-PKGREVISION= 5
COMMENT= ODBC 2.x/3.x driver manager
CONFLICTS+= iodbc-[0-9]*
@@ -16,24 +15,23 @@ FILES_SUBST+= UNIXODBC_DRIVERS_DIR=${UNIXODBC_DRIVERS_DIR:Q}
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
-CONF_FILES= ${EGDIR}/odbcinst.ini ${PKG_SYSCONFDIR}/odbcinst.ini
-CONF_FILES+= /dev/null ${PKG_SYSCONFDIR}/odbc.ini
+CONF_FILES= ${EGDIR}/odbc.ini ${PKG_SYSCONFDIR}/odbc.ini
OWN_DIRS= ${PKG_SYSCONFDIR}/ODBCDataSources
post-patch: fix-driver-installation
SUBST_CLASSES+= paths
-SUBST_FILES.paths= ${WRKDIR}/odbcinst.ini
+SUBST_FILES.paths= ${WRKDIR}/odbc.ini
SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g'
SUBST_SED.paths+= -e 's,@UNIXODBC_DRIVERS_DIR@,${UNIXODBC_DRIVERS_DIR},g'
SUBST_STAGE.paths= post-patch
post-extract:
- ${CP} ${FILESDIR}/odbcinst.ini.in ${WRKDIR}/odbcinst.ini
+ ${CP} ${FILESDIR}/odbcinst.ini.in ${WRKDIR}/odbc.ini
post-install:
${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA} ${WRKDIR}/odbcinst.ini ${EGDIR}/odbcinst.ini
+ ${INSTALL_DATA} ${WRKDIR}/odbc.ini ${EGDIR}/odbc.ini
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"