Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Mar 2020 07:05:53 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r528628 - head/databases/recutils
Message-ID:  <202003180705.02I75rJa099903@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Wed Mar 18 07:05:53 2020
New Revision: 528628
URL: https://svnweb.freebsd.org/changeset/ports/528628

Log:
  - Add pkgconfig to USES list, it's used during configure:
    currently lack of it did not affect the build, but that
    might change one day
  - Allow to build with MS Access database (.mdb) support

Modified:
  head/databases/recutils/Makefile
  head/databases/recutils/pkg-plist

Modified: head/databases/recutils/Makefile
==============================================================================
--- head/databases/recutils/Makefile	Wed Mar 18 07:02:14 2020	(r528627)
+++ head/databases/recutils/Makefile	Wed Mar 18 07:05:53 2020	(r528628)
@@ -13,7 +13,7 @@ LICENSE=	GPLv3+
 
 LIB_DEPENDS=	libuuid.so:misc/e2fsprogs-libuuid
 
-USES=		charsetfix libtool makeinfo readline
+USES=		charsetfix libtool makeinfo pkgconfig readline
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 INSTALL_TARGET=	install-strip
@@ -22,7 +22,7 @@ TEST_TARGET=	check
 INFO=		rec-mode recutils
 PORTDOCS=	AUTHORS ChangeLog NEWS README
 
-OPTIONS_DEFINE=	DOCS CURL GCRYPT NLS
+OPTIONS_DEFINE=	DOCS CURL GCRYPT MDB NLS
 OPTIONS_DEFAULT=	GCRYPT
 OPTIONS_SUB=	yes
 
@@ -33,6 +33,10 @@ GCRYPT_DESC=	Encryption support via GNU crypt
 GCRYPT_LIB_DEPENDS=	libgcrypt.so:security/libgcrypt \
 			libgpg-error.so:security/libgpg-error
 GCRYPT_CONFIGURE_OFF=	--disable-encryption
+
+MDB_DESC=	MS Access database (.mdb) support
+MDB_LIB_DEPENDS=	libmdb.so:databases/mdbtools
+MDB_CONFIGURE_ENV_OFF=	ac_cv_lib_mdb_mdb_init=no
 
 NLS_USES=		gettext
 NLS_CONFIGURE_OFF=	--disable-nls

Modified: head/databases/recutils/pkg-plist
==============================================================================
--- head/databases/recutils/pkg-plist	Wed Mar 18 07:02:14 2020	(r528627)
+++ head/databases/recutils/pkg-plist	Wed Mar 18 07:05:53 2020	(r528628)
@@ -1,4 +1,5 @@
 bin/csv2rec
+%%MDB%%bin/mdb2rec
 bin/rec2csv
 bin/recdel
 bin/recfix
@@ -13,6 +14,7 @@ lib/librec.so
 lib/librec.so.1
 lib/librec.so.1.0.0
 man/man1/csv2rec.1.gz
+%%MDB%%man/man1/mdb2rec.1.gz
 man/man1/rec2csv.1.gz
 man/man1/recdel.1.gz
 man/man1/recfix.1.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003180705.02I75rJa099903>