aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysql-connector-odbc
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2005-03-27 05:57:21 +0800
committerkris <kris@FreeBSD.org>2005-03-27 05:57:21 +0800
commit93da3d73b6e9f9efc84e7ca306a7d62776c8704d (patch)
tree8d8ce72ba102dd1a15fc0e3d74c4e7172f943fde /databases/mysql-connector-odbc
parent0101c7b853e4a53dbca999c56986f14aeb31ef19 (diff)
downloadfreebsd-ports-gnome-93da3d73b6e9f9efc84e7ca306a7d62776c8704d.tar.gz
freebsd-ports-gnome-93da3d73b6e9f9efc84e7ca306a7d62776c8704d.tar.zst
freebsd-ports-gnome-93da3d73b6e9f9efc84e7ca306a7d62776c8704d.zip
BROKEN on 5.x !i386: Does not compile
Approved by: portmgr (self)
Diffstat (limited to 'databases/mysql-connector-odbc')
-rw-r--r--databases/mysql-connector-odbc/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/mysql-connector-odbc/Makefile b/databases/mysql-connector-odbc/Makefile
index 000208e99c3d..efc9a8de3e63 100644
--- a/databases/mysql-connector-odbc/Makefile
+++ b/databases/mysql-connector-odbc/Makefile
@@ -46,6 +46,12 @@ CONFIGURE_ARGS+= --with-iODBC=${LOCALBASE} \
PKGNAMESUFFIX= -${DRIVER_MANAGER}-mysql${MYSQL_VER}
COMMENT+= ${MYSQL_VER} / ${DRIVER_MANAGER}
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386" && ${OSVERSION} >= 503000
+BROKEN= "Does not compile on FreeBSD >=5.x on !i386"
+.endif
+
# Allow a new value of ODBCVER to be set at build-time
.if defined(ODBCVER)
post-patch:
@@ -68,4 +74,4 @@ post-install:
[ -f ${PREFIX}/lib/libmyodbc3.so.0 ] || ${LN} -s ${PREFIX}/lib/libmyodbc3.so ${PREFIX}/lib/libmyodbc3.so.0
[ -f ${PREFIX}/lib/libmyodbc3_r.so.0 ] || ${LN} -s ${PREFIX}/lib/libmyodbc3_r.so ${PREFIX}/lib/libmyodbc3_r.so.0
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>