summaryrefslogtreecommitdiffstats
path: root/databases/unixODBC
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-07-23 03:54:43 +0000
committerknu <knu@FreeBSD.org>2001-07-23 03:54:43 +0000
commit24812403a0a25dd6459cf803c25a087214c9e3a0 (patch)
tree6c430f44c6b3f6d76b1fb8ecffd70293318336f2 /databases/unixODBC
parent2f8c0b3a7b5daf879a803d4ba6b1bcac1ef05ed7 (diff)
downloadFreeBSD-ports-24812403a0a25dd6459cf803c25a087214c9e3a0.zip
FreeBSD-ports-24812403a0a25dd6459cf803c25a087214c9e3a0.tar.gz
Update to 2.0.8.
PR: ports/29011 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'databases/unixODBC')
-rw-r--r--databases/unixODBC/Makefile15
-rw-r--r--databases/unixODBC/distinfo2
-rw-r--r--databases/unixODBC/files/patch-ad13
-rw-r--r--databases/unixODBC/pkg-plist2
4 files changed, 22 insertions, 10 deletions
diff --git a/databases/unixODBC/Makefile b/databases/unixODBC/Makefile
index 7e09882..7a2975c 100644
--- a/databases/unixODBC/Makefile
+++ b/databases/unixODBC/Makefile
@@ -6,14 +6,13 @@
#
PORTNAME= unixODBC
-PORTVERSION= 2.0.7
-PORTREVISION= 1
+PORTVERSION= 2.0.8
CATEGORIES= databases
MASTER_SITES= http://www.unixodbc.org/
MAINTAINER= ports@FreeBSD.org
-GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
CONFIGURE_ARGS= --enable-static --enable-shared
INSTALLS_SHLIB= yes
@@ -47,14 +46,16 @@ pre-patch:
.else
@${PERL} -pi -e 's|-lqt|-lqt2|g' ${WRKSRC}/configure
.endif
- @${PERL} -pi -e 's| -lc||g' ${WRKSRC}/ltmain.sh
+
+pre-build:
+ @${LN} -sf ${LOCALBASE}/bin/libtool ${WRKSRC}/libtool
post-install:
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/unixODBC
+ @${MKDIR} ${DOCSDIR}
${TAR} -C ${WRKSRC}/doc --exclude '*Makefile*' -cf - . \
- | ${TAR} -C ${PREFIX}/share/doc/unixODBC --unlink -xf -
- @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/doc/unixODBC
+ | ${TAR} -C ${DOCSDIR} --unlink -xf -
+ @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/databases/unixODBC/distinfo b/databases/unixODBC/distinfo
index cb9397c..29607ff 100644
--- a/databases/unixODBC/distinfo
+++ b/databases/unixODBC/distinfo
@@ -1 +1 @@
-MD5 (unixODBC-2.0.7.tar.gz) = d862b82c655e38bd97511bdf21441320
+MD5 (unixODBC-2.0.8.tar.gz) = 8b86e29adc2f3ff0713cde9c1a20c5ec
diff --git a/databases/unixODBC/files/patch-ad b/databases/unixODBC/files/patch-ad
new file mode 100644
index 0000000..b9c9ce1
--- /dev/null
+++ b/databases/unixODBC/files/patch-ad
@@ -0,0 +1,13 @@
+--- sqp/lex.l Thu Jun 21 23:30:52 2001
++++ ../../ports/databases/unixODBC/work/unixODBC-2.0.8/sqp/lex.l Sat Jul 14 09:27:09 2001
+@@ -13,9 +13,9 @@
+
+ %{
+
++#include "sqp.h"
+ #include "yac.h"
+ #include <string.h>
+-#include "sqp.h"
+
+ #undef YY_INPUT
+ #define YY_INPUT(b, r, ms) (r = my_yyinput(b, ms))
diff --git a/databases/unixODBC/pkg-plist b/databases/unixODBC/pkg-plist
index cf4ae86..952beac 100644
--- a/databases/unixODBC/pkg-plist
+++ b/databases/unixODBC/pkg-plist
@@ -77,8 +77,6 @@ lib/libodbcpsqlS.so
lib/libodbcpsqlS.so.1
lib/libodbctxt.a
lib/libodbctxt.la
-lib/libodbctxt.so
-lib/libodbctxt.so.1
lib/libodbctxtS.a
lib/libodbctxtS.la
lib/libodbctxtS.so
OpenPOWER on IntegriCloud