aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysql++1
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2005-12-16 02:41:41 +0800
committermnag <mnag@FreeBSD.org>2005-12-16 02:41:41 +0800
commit2698cde1d9797bdb8114604068ccdc750135c7e2 (patch)
tree9e7cebe8f5fc50ee22ac97befea1e2c5776c6c46 /databases/mysql++1
parent129451ae1a2d7a3d39ee23ab478bb5402d0f60e9 (diff)
downloadfreebsd-ports-graphics-2698cde1d9797bdb8114604068ccdc750135c7e2.tar.gz
freebsd-ports-graphics-2698cde1d9797bdb8114604068ccdc750135c7e2.tar.zst
freebsd-ports-graphics-2698cde1d9797bdb8114604068ccdc750135c7e2.zip
* databases/mysql++
Update to 2.0.7 Add SHA256 Add CONFLICTS * databases/mysql++1 [1] Add SHA256 Add CONFLICTS Add NO_LATEST_LINK * databases/Makefile Add mysql++1 PR: 89935 Submitted by: maintainer Repocopy by: marcus [1]
Diffstat (limited to 'databases/mysql++1')
-rw-r--r--databases/mysql++1/Makefile20
-rw-r--r--databases/mysql++1/distinfo1
2 files changed, 13 insertions, 8 deletions
diff --git a/databases/mysql++1/Makefile b/databases/mysql++1/Makefile
index 1e617481742..0ab3758e179 100644
--- a/databases/mysql++1/Makefile
+++ b/databases/mysql++1/Makefile
@@ -9,25 +9,28 @@ PORTNAME= mysql++
PORTVERSION= 1.7.40
CATEGORIES= databases devel
MASTER_SITES= http://tangentsoft.net/mysql++/releases/
+PKGNAMESUFFIX= -mysql${MYSQL_VER}
MAINTAINER= sergey@network-asp.biz
-COMMENT= Complex C++ API for MySQL
+COMMENT= Complex C++ API for MySQL${MYSQL_VER}
USE_MYSQL= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_ARGS= --with-mysql=${LOCALBASE} --includedir=${PREFIX}/include/mysql++
-CONFIGURE_ARGS+= --disable-examples
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-mysql=${LOCALBASE} --includedir=${PREFIX}/include/mysql++ \
+ --disable-examples
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
INSTALLS_SHLIB= yes
+CONFLICTS= ${PORTNAME}*-2.*
+NO_LATEST_LINK= yes
+
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500039
USE_GCC= 3.4
.endif
-PKGNAMESUFFIX= -mysql${MYSQL_VER}
-COMMENT+= ${MYSQL_VER}
-
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}/userman/html ${DOCSDIR}/refman/html
@@ -40,8 +43,9 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/examples/README ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/examples/Makefile.simple ${EXAMPLESDIR}/Makefile.temp
@${SED} -e "s|/usr/include/mysql++|${PREFIX}/include/mysql++|" < ${EXAMPLESDIR}/Makefile.temp | \
- ${SED} -e "s|/usr/include/mysql|${LOCALBASE}/include/mysql|" | \
- ${SED} -e "s|-lmysqlpp|-L${PREFIX}/lib -L${LOCALBASE}/lib/mysql -lmysqlpp|" > ${EXAMPLESDIR}/Makefile
+ ${SED} -e "s|/usr/include/mysql|${LOCALBASE}/include/mysql|" | \
+ ${SED} -e "s|-lmysqlpp|-L${PREFIX}/lib -L${LOCALBASE}/lib/mysql -lmysqlpp|" \
+ > ${EXAMPLESDIR}/Makefile
@${RM} -f ${EXAMPLESDIR}/Makefile.temp
.endif
diff --git a/databases/mysql++1/distinfo b/databases/mysql++1/distinfo
index c32b70a5fe5..bfc65ea0f3d 100644
--- a/databases/mysql++1/distinfo
+++ b/databases/mysql++1/distinfo
@@ -1,2 +1,3 @@
MD5 (mysql++-1.7.40.tar.gz) = 163893856a9e5dbacffcb5ca6ad47c37
+SHA256 (mysql++-1.7.40.tar.gz) = 41cc6fb2fa62ecea8d0601a7312ab386dbfd3d27f6d2160fa8ac942c3bea24b9
SIZE (mysql++-1.7.40.tar.gz) = 1819351