pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/yap2lc Fix buildling with db5; revbump for d...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a39f2565f37e
branches:  trunk
changeset: 576119:a39f2565f37e
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Jun 02 12:23:47 2010 +0000

description:
Fix buildling with db5; revbump for db4 update

diffstat:

 databases/yap2lc/Makefile         |  13 ++++++++-----
 databases/yap2lc/distinfo         |   3 +--
 databases/yap2lc/patches/patch-aa |  22 ----------------------
 3 files changed, 9 insertions(+), 29 deletions(-)

diffs (74 lines):

diff -r 2f39a2cd4b0a -r a39f2565f37e databases/yap2lc/Makefile
--- a/databases/yap2lc/Makefile Wed Jun 02 12:22:59 2010 +0000
+++ b/databases/yap2lc/Makefile Wed Jun 02 12:23:47 2010 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2008/09/06 20:54:32 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2010/06/02 12:23:47 adam Exp $
 
 DISTNAME=      yap2lc-0.5.9
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    databases
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=yap2lc/}
 
@@ -11,7 +11,9 @@
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
+BDB_ACCEPTED=          db4 db5
 GNU_CONFIGURE=         YES
+CONFIGURE_ENV+=                BDB_TYPE="${BDB_TYPE}"
 
 INSTALLATION_DIRS=     bin share/doc/yap2lc share/examples/yap2lc
 
@@ -19,9 +21,10 @@
        ${INSTALL_PROGRAM} ${WRKSRC}/yap2lc ${DESTDIR}${PREFIX}/bin
        ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/yap2lc
        ${INSTALL_DATA} ${WRKSRC}/samples/ldif.template \
-         ${DESTDIR}${PREFIX}/share/examples/yap2lc
+               ${DESTDIR}${PREFIX}/share/examples/yap2lc
        ${INSTALL_DATA} ${WRKSRC}/samples/yap2lc.conf \
-         ${DESTDIR}${PREFIX}/share/examples/yap2lc
+               ${DESTDIR}${PREFIX}/share/examples/yap2lc
 
-.include "../../databases/db4/buildlink3.mk"
+BUILDLINK_TRANSFORM+=  l:db:${BDB_TYPE}
+.include "../../mk/bdb.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 2f39a2cd4b0a -r a39f2565f37e databases/yap2lc/distinfo
--- a/databases/yap2lc/distinfo Wed Jun 02 12:22:59 2010 +0000
+++ b/databases/yap2lc/distinfo Wed Jun 02 12:23:47 2010 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/08/22 17:32:07 tron Exp $
+$NetBSD: distinfo,v 1.2 2010/06/02 12:23:47 adam Exp $
 
 SHA1 (yap2lc-0.5.9.tar.gz) = c63b36ec5068793b53c0a84db207209fc30be277
 RMD160 (yap2lc-0.5.9.tar.gz) = c5538663917bd46dbda1e71834a8ccf145bbb4af
 Size (yap2lc-0.5.9.tar.gz) = 58651 bytes
-SHA1 (patch-aa) = a2abfd8dcd49f3119af143f30503a60d5ef5e2d2
diff -r 2f39a2cd4b0a -r a39f2565f37e databases/yap2lc/patches/patch-aa
--- a/databases/yap2lc/patches/patch-aa Wed Jun 02 12:22:59 2010 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2007/08/22 17:32:07 tron Exp $
-
---- configure.orig     2003-12-22 18:50:00.000000000 +0000
-+++ configure  2007-08-22 18:00:42.000000000 +0100
-@@ -3418,7 +3418,7 @@
-   withval="$with_bdb"
-   CFLAGS="${CFLAGS} -DBDB"
- else
--  LDFLAGS="${LDFLAGS} -ldb"
-+  LDFLAGS="${LDFLAGS} -ldb4"
- fi;
- 
- 
-@@ -3427,7 +3427,7 @@
-   withval="$with_old_bdb"
-   CFLAGS="${CFLAGS} -DOLD_BDB"
- else
--  LDFLAGS="${LDFLAGS} -ldb"
-+  LDFLAGS="${LDFLAGS} -ldb4"
- fi;
- 
- 



Home | Main Index | Thread Index | Old Index