pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/iodbc Add full DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a16808011d7a
branches:  trunk
changeset: 541074:a16808011d7a
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Mon Apr 14 21:46:57 2008 +0000

description:
Add full DESTDIR support.

diffstat:

 databases/iodbc/Makefile |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 488c2dd0bbec -r a16808011d7a databases/iodbc/Makefile
--- a/databases/iodbc/Makefile  Mon Apr 14 21:46:11 2008 +0000
+++ b/databases/iodbc/Makefile  Mon Apr 14 21:46:57 2008 +0000
@@ -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 @@
 
 CONFLICTS+=    unixodbc-[0-9]*
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_LIBTOOL=           yes
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --disable-gui
@@ -25,6 +27,7 @@
 .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"



Home | Main Index | Thread Index | Old Index