pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net DESTDIR support. XXX 600 on the example config is ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/15e87908d7e9
branches: trunk
changeset: 571411:15e87908d7e9
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Feb 11 22:14:26 2010 +0000
description:
DESTDIR support. XXX 600 on the example config is silly
diffstat:
net/mydns-mysql/Makefile | 4 +++-
net/mydns-pgsql/Makefile.common | 9 +++++----
2 files changed, 8 insertions(+), 5 deletions(-)
diffs (42 lines):
diff -r 6801d7b96c69 -r 15e87908d7e9 net/mydns-mysql/Makefile
--- a/net/mydns-mysql/Makefile Thu Feb 11 22:04:09 2010 +0000
+++ b/net/mydns-mysql/Makefile Thu Feb 11 22:14:26 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2006/06/07 12:43:13 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2010/02/11 22:14:26 joerg Exp $
PKGNAME= ${DISTNAME:S/-/-mysql-/}
PKGREVISION= 2
@@ -10,6 +10,8 @@
PATCHDIR= ${.CURDIR}/../../net/mydns-pgsql/patches
FILESDIR= ${.CURDIR}/../../net/mydns-pgsql/files
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFIGURE_ARGS+= --without-pgsql
CONFIGURE_ARGS+= --with-mysql-lib=${BUILDLINK_PREFIX.mysql-client}/lib/mysql
CONFIGURE_ARGS+= --with-mysql-include=${BUILDLINK_PREFIX.mysql-client}/include/mysql
diff -r 6801d7b96c69 -r 15e87908d7e9 net/mydns-pgsql/Makefile.common
--- a/net/mydns-pgsql/Makefile.common Thu Feb 11 22:04:09 2010 +0000
+++ b/net/mydns-pgsql/Makefile.common Thu Feb 11 22:14:26 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.13 2007/07/04 20:54:50 jlam Exp $
+# $NetBSD: Makefile.common,v 1.14 2010/02/11 22:14:26 joerg Exp $
DISTNAME= mydns-1.1.0
CATEGORIES= net
@@ -34,10 +34,11 @@
PKG_GROUPS= ${MYDNS_GROUP}
PKG_USERS= ${MYDNS_USER}:${MYDNS_GROUP}
+INSTALLATION_DIRS+= ${EGDIR}
+
post-install:
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${WRKSRC}/src/mydns/mydns --dump-config > ${EGDIR}/mydns.conf
- ${CHMOD} 0600 ${EGDIR}/mydns.conf
+ ${WRKSRC}/src/mydns/mydns --dump-config > ${DESTDIR}${EGDIR}/mydns.conf
+ ${CHMOD} 0600 ${DESTDIR}${EGDIR}/mydns.conf
.include "../../security/openssl/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index