aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-11-06 01:56:00 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-11-06 01:56:00 +0800
commit93dcf0cb9838d10758c7cfdfbe6b48d17bf30526 (patch)
tree05ff030793f2f3eb634862a0e3f6c38c6f321160 /databases
parent9b69958d29b35bbda7fd435b800e5481a1681be4 (diff)
downloadfreebsd-ports-gnome-93dcf0cb9838d10758c7cfdfbe6b48d17bf30526.tar.gz
freebsd-ports-gnome-93dcf0cb9838d10758c7cfdfbe6b48d17bf30526.tar.zst
freebsd-ports-gnome-93dcf0cb9838d10758c7cfdfbe6b48d17bf30526.zip
- Update to 1.45
- Convert to new options helper - Support STAGEDIR Changes: http://search.cpan.org/dist/DBD-ODBC/Changes
Diffstat (limited to 'databases')
-rw-r--r--databases/p5-DBD-ODBC/Makefile10
-rw-r--r--databases/p5-DBD-ODBC/distinfo4
2 files changed, 8 insertions, 6 deletions
diff --git a/databases/p5-DBD-ODBC/Makefile b/databases/p5-DBD-ODBC/Makefile
index 77e49da5c99f..7c42fcde8466 100644
--- a/databases/p5-DBD-ODBC/Makefile
+++ b/databases/p5-DBD-ODBC/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= DBD-ODBC
-PORTVERSION= 1.43
+PORTVERSION= 1.45
CATEGORIES= databases perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:MJEVANS
@@ -28,19 +28,20 @@ CONFIGURE_ARGS= -o ${LOCALBASE}
PORTDOCS= Changes README README.adabas README.informix
+IODBC_LIB_DEPENDS= libiodbc.so:${PORTSDIR}/databases/libiodbc
+UNIXODBC_LIB_DEPENDS= libodbc.so:${PORTSDIR}/databases/unixODBC
+
.include <bsd.port.options.mk>
-.if empty(PORT_OPTIONS:MODBC)
+.if !${PORT_OPTIONS:MODBC}
IGNORE= an ODBC driver (iODBC or unixODBC) is required
.endif
.if ${PORT_OPTIONS:MIODBC}
-LIB_DEPENDS+= iodbc:${PORTSDIR}/databases/libiodbc
MYODBC= iodbc
.endif
.if ${PORT_OPTIONS:MUNIXODBC}
-LIB_DEPENDS+= odbc:${PORTSDIR}/databases/unixODBC
MYODBC= unixodbc
.endif
@@ -60,6 +61,7 @@ post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
+ @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
.include <bsd.port.post.mk>
diff --git a/databases/p5-DBD-ODBC/distinfo b/databases/p5-DBD-ODBC/distinfo
index 5f1e0ad2f329..1ad63dedc310 100644
--- a/databases/p5-DBD-ODBC/distinfo
+++ b/databases/p5-DBD-ODBC/distinfo
@@ -1,2 +1,2 @@
-SHA256 (DBD-ODBC-1.43.tar.gz) = cf92fe818ca59b3a9db2ca473d725d6ee36019940980c0559753f93b6258aac2
-SIZE (DBD-ODBC-1.43.tar.gz) = 268239
+SHA256 (DBD-ODBC-1.45.tar.gz) = 695bb83c162370a7df80386d7a3da188e9b20f87b5a00f22932fcc16fd51978a
+SIZE (DBD-ODBC-1.45.tar.gz) = 271570