aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2005-03-26 21:57:21 +0000
committerKris Kennaway <kris@FreeBSD.org>2005-03-26 21:57:21 +0000
commit12157a07edb549d66f5cd43e2a103c547cb7c061 (patch)
tree42404d9df4946cc8e6303817eda69b4d93f647c3 /databases
parentb3fe3ac7fbcbb96196bf413a1190a1f6432fe7f9 (diff)
downloadports-12157a07edb549d66f5cd43e2a103c547cb7c061.tar.gz
ports-12157a07edb549d66f5cd43e2a103c547cb7c061.zip
Notes
Diffstat (limited to 'databases')
-rw-r--r--databases/myodbc/Makefile8
-rw-r--r--databases/mysql-connector-odbc/Makefile8
2 files changed, 14 insertions, 2 deletions
diff --git a/databases/myodbc/Makefile b/databases/myodbc/Makefile
index 000208e99c3d..efc9a8de3e63 100644
--- a/databases/myodbc/Makefile
+++ b/databases/myodbc/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>
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>