diff options
author | ijliao <ijliao@FreeBSD.org> | 2003-01-02 12:00:22 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2003-01-02 12:00:22 +0800 |
commit | 014ef10e496a5b4919e1b461f508f35d2393f75c (patch) | |
tree | c734c9351169627814f409d3923539c39b31551b /databases/dbconnect | |
parent | 312af7e6b077e8e68d3e93b0d85d0e788f239dfe (diff) | |
download | freebsd-ports-gnome-014ef10e496a5b4919e1b461f508f35d2393f75c.tar.gz freebsd-ports-gnome-014ef10e496a5b4919e1b461f508f35d2393f75c.tar.zst freebsd-ports-gnome-014ef10e496a5b4919e1b461f508f35d2393f75c.zip |
upgrade to 0.2.4
PR: 44958
Submitted by: Ports Fury
Diffstat (limited to 'databases/dbconnect')
-rw-r--r-- | databases/dbconnect/Makefile | 36 | ||||
-rw-r--r-- | databases/dbconnect/distinfo | 2 | ||||
-rw-r--r-- | databases/dbconnect/files/patch-configure | 11 | ||||
-rw-r--r-- | databases/dbconnect/pkg-plist | 5 |
4 files changed, 46 insertions, 8 deletions
diff --git a/databases/dbconnect/Makefile b/databases/dbconnect/Makefile index b6bf1f4e43eb..7efe248fca00 100644 --- a/databases/dbconnect/Makefile +++ b/databases/dbconnect/Makefile @@ -7,22 +7,50 @@ # PORTNAME= dbconnect -PORTVERSION= 0.2.0 +PORTVERSION= 0.2.4 CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org -WRKSRC= ${WRKDIR}/${PORTNAME} +USE_REINPLACE= yes GNU_CONFIGURE= yes .if defined(WITH_MYSQL) -LIB_DEPENDS= mysqlclient:${PORTSDIR}/databases/mysql323-client -CONFIGURE_ARGS+= --with-mysql=yes --with-mysqldir=${LOCALBASE} +LIB_DEPENDS+= mysqlclient:${PORTSDIR}/databases/mysql323-client +CONFIGURE_ARGS+= --with-mysql=yes \ + --with-mysqlinclude=${LOCALBASE}/include/mysql \ + --with-mysqllib=${LOCALBASE}/lib/mysql PLIST_SUB+= MYSQL="" .else PLIST_SUB+= MYSQL="@comment " .endif +.if defined(WITH_PGSQL) +LIB_DEPENDS+= pq:${PORTSDIR}/databases/postgresql7 +CONFIGURE_ARGS+= --with-pgsql=yes \ + --with-pgsqlinclude=${LOCALBASE}/include \ + --with-pgsqllib=${LOCALBASE}/lib +PLIST_SUB+= PGSQL="" +.else +PLIST_SUB+= PGSQL="@comment " +.endif + +.if defined(WITH_UNIXODBC) +LIB_DEPENDS+= odbc:${PORTSDIR}/databases/unixODBC +CONFIGURE_ARGS+= --with-unixodbc=yes \ + --with-unixodbcinclude=${LOCALBASE}/include \ + --with-unixodbclib=${LOCALBASE}/lib +PLIST_SUB+= UNIXODBC="" +.else +PLIST_SUB+= UNIXODBC="@comment " +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|g++|${CXX}|g ; \ + s|@CFLAGS@|${CXXFLAGS}|g ; \ + s|gcc|${CXX}|g ; \ + s|cp -f \.|${INSTALL_DATA} .|g' ${WRKSRC}/Makefile.in + .include <bsd.port.mk> diff --git a/databases/dbconnect/distinfo b/databases/dbconnect/distinfo index 80c89a1c7577..a6229365d1d2 100644 --- a/databases/dbconnect/distinfo +++ b/databases/dbconnect/distinfo @@ -1 +1 @@ -MD5 (dbconnect-0.2.0.tar.gz) = c782a100ae10aeb7de16970986db66c8 +MD5 (dbconnect-0.2.4.tar.gz) = ba1d6612146519e4335a41965b80d811 diff --git a/databases/dbconnect/files/patch-configure b/databases/dbconnect/files/patch-configure new file mode 100644 index 000000000000..753a714e9f1e --- /dev/null +++ b/databases/dbconnect/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Thu Nov 8 02:31:32 2001 ++++ configure Tue Nov 5 08:44:51 2002 +@@ -640,7 +640,7 @@ + + + +-prefix="/usr/local/dbconnect" ++#prefix="/usr/local/dbconnect" + + + diff --git a/databases/dbconnect/pkg-plist b/databases/dbconnect/pkg-plist index f40cac137301..ccf9515fa18a 100644 --- a/databases/dbconnect/pkg-plist +++ b/databases/dbconnect/pkg-plist @@ -3,6 +3,5 @@ include/dbconnect_basedriver.h lib/libdbconn.a lib/libdyndbconn.so %%MYSQL%%include/dbconnect_MYSQL.h -%%MYSQL%%include/mysql.h -%%MYSQL%%include/mysql_com.h -%%MYSQL%%include/mysql_version.h +%%PGSQL%%include/dbconnect_PGSQL.h +%%UNIXODBC%%include/dbconnect_ODBC.h |