From 9495afc26e4b8e7e3cd09bd0c8e49a573df3cff1 Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 9 Sep 2009 14:38:58 +0000 Subject: DESTDIR support --- databases/sqlrelay/Makefile | 4 +++- databases/sqlrelay/distinfo | 4 ++-- databases/sqlrelay/patches/patch-ac | 8 ++++---- 3 files changed, 9 insertions(+), 7 deletions(-) (limited to 'databases/sqlrelay') diff --git a/databases/sqlrelay/Makefile b/databases/sqlrelay/Makefile index 2eb05bd16da..49daef549f2 100644 --- a/databases/sqlrelay/Makefile +++ b/databases/sqlrelay/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2007/08/30 16:44:59 joerg Exp $ +# $NetBSD: Makefile,v 1.17 2009/09/09 14:38:58 joerg Exp $ DISTNAME= sqlrelay-0.37 PKGREVISION= 2 @@ -9,6 +9,8 @@ MAINTAINER= grant@NetBSD.org HOMEPAGE= http://sqlrelay.sourceforge.net/ COMMENT= Enables pooling and sharing of database connections +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= YES USE_LANGUAGES= c c++ USE_TOOLS+= gmake diff --git a/databases/sqlrelay/distinfo b/databases/sqlrelay/distinfo index b1940e39b49..4c8919ff14e 100644 --- a/databases/sqlrelay/distinfo +++ b/databases/sqlrelay/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.4 2008/10/03 18:14:46 joerg Exp $ +$NetBSD: distinfo,v 1.5 2009/09/09 14:38:58 joerg Exp $ SHA1 (sqlrelay-0.37.tar.gz) = cec442357f6644c8ac7f066fe974a25c9f315022 RMD160 (sqlrelay-0.37.tar.gz) = 2cad89fe72d6700857280e385ab03c69cd584648 Size (sqlrelay-0.37.tar.gz) = 1668069 bytes SHA1 (patch-aa) = 0684b3382e64569ed222cb19df6e5a1a4a143061 SHA1 (patch-ab) = c05dbc72d1077237efd1d01e48403a7caa38eff9 -SHA1 (patch-ac) = 0e41838c30a460463b72bfed2791ca8045f04aed +SHA1 (patch-ac) = 58c456142b9026bd9f41460f5a602aec61fc70cb SHA1 (patch-ad) = a7e7047bcaf28de96a2baab527e4b1f607deb7c6 diff --git a/databases/sqlrelay/patches/patch-ac b/databases/sqlrelay/patches/patch-ac index 770b9f493a0..7dee8c2dfc7 100644 --- a/databases/sqlrelay/patches/patch-ac +++ b/databases/sqlrelay/patches/patch-ac @@ -1,4 +1,4 @@ -$NetBSD: patch-ac,v 1.1 2006/03/29 01:28:47 gavan Exp $ +$NetBSD: patch-ac,v 1.2 2009/09/09 14:38:58 joerg Exp $ --- etc/Makefile.orig 2005-02-24 02:52:16.000000000 +0000 +++ etc/Makefile @@ -9,9 +9,9 @@ $NetBSD: patch-ac,v 1.1 2006/03/29 01:28:47 gavan Exp $ - $(MKINSTALLDIRS) $(sysconfdir) - $(INSTALL) -m 644 sqlrelay.conf.example $(sysconfdir) - $(INSTALL) -m 644 sqlrelay.dtd $(sysconfdir) -+ $(MKINSTALLDIRS) $(EXAMPLESDIR) -+ $(INSTALL) -m 644 sqlrelay.conf.example $(EXAMPLESDIR) -+ $(INSTALL) -m 644 sqlrelay.dtd $(EXAMPLESDIR) ++ $(MKINSTALLDIRS) ${DESTDIR}$(EXAMPLESDIR) ++ $(INSTALL) -m 644 sqlrelay.conf.example ${DESTDIR}$(EXAMPLESDIR) ++ $(INSTALL) -m 644 sqlrelay.dtd ${DESTDIR}$(EXAMPLESDIR) uninstall: - $(RM) $(sysconfdir)/sqlrelay.conf.example -- cgit v1.2.3