diff options
author | jlam <jlam@pkgsrc.org> | 2008-04-14 21:46:57 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-04-14 21:46:57 +0000 |
commit | a2698b587da2a2799158d7a46ed949dd6263ca3f (patch) | |
tree | 3b610f726c5ae00c48a3b92b0c121be5dec66bc0 /databases | |
parent | 1075e6c2144b925f74f34abc98bd4881e77bb243 (diff) | |
download | pkgsrc-a2698b587da2a2799158d7a46ed949dd6263ca3f.tar.gz |
Add full DESTDIR support.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/iodbc/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/databases/iodbc/Makefile b/databases/iodbc/Makefile index ac7f5497e8b..f8be279aa9c 100644 --- a/databases/iodbc/Makefile +++ b/databases/iodbc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2008/02/09 07:26:57 adam Exp $ +# $NetBSD: Makefile,v 1.16 2008/04/14 21:46:57 jlam Exp $ DISTNAME= libiodbc-3.52.6 PKGNAME= ${DISTNAME:S/^lib//} @@ -11,6 +11,8 @@ COMMENT= ODBC 3.x driver manager CONFLICTS+= unixodbc-[0-9]* +PKG_DESTDIR_SUPPORT= user-destdir + USE_LIBTOOL= yes GNU_CONFIGURE= yes CONFIGURE_ARGS+= --disable-gui @@ -25,6 +27,7 @@ CONF_FILES= ${EGDIR}/odbc.ini ${PKG_SYSCONFDIR}/odbc.ini .include "../../mk/pthread.buildlink3.mk" post-install: - ${INSTALL_DATA} ${WRKSRC}/etc/odbc.ini.sample ${EGDIR}/odbc.ini + ${INSTALL_DATA} ${WRKSRC}/etc/odbc.ini.sample \ + ${DESTDIR}${EGDIR}/odbc.ini .include "../../mk/bsd.pkg.mk" |