aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysql-administrator
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-03-05 01:17:52 +0800
committerarved <arved@FreeBSD.org>2004-03-05 01:17:52 +0800
commitba693305310c97883614225516cdbd7924cc6363 (patch)
tree18a9e832d4caca8055c1d3c660d06b8387f08f0a /databases/mysql-administrator
parent87e27879c4f076ab1b3fea9f61e07c9e8000090f (diff)
downloadfreebsd-ports-gnome-ba693305310c97883614225516cdbd7924cc6363.tar.gz
freebsd-ports-gnome-ba693305310c97883614225516cdbd7924cc6363.tar.zst
freebsd-ports-gnome-ba693305310c97883614225516cdbd7924cc6363.zip
Fix Build on AMD64
Approved by: maintainer
Diffstat (limited to 'databases/mysql-administrator')
-rw-r--r--databases/mysql-administrator/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/databases/mysql-administrator/Makefile b/databases/mysql-administrator/Makefile
index 4b34c21e092b..2557cfb2f395 100644
--- a/databases/mysql-administrator/Makefile
+++ b/databases/mysql-administrator/Makefile
@@ -40,6 +40,8 @@ LIB_DEPENDS+= gtkmm-2.0:${PORTSDIR}/x11-toolkits/gtk--2 \
DIRS_ORDER= mysqlxlibrary mysqladministratorlibrary \
mysqlcommonguiparts mysqladministrator
+.include <bsd.port.pre.mk>
+
post-patch:
@${REINPLACE_CMD} -e "s#%%PTHREAD_CFLAGS%%#${PTHREAD_CFLAGS}#" \
${WRKSRC}/mysqladministrator/source/linux/Makefile.am
@@ -57,6 +59,9 @@ do-build:
${ECHO_MSG} "--->"; \
cd ${WRKSRC}/$${d}; \
${AUTOMAKE} --foreign; ${AUTOCONF}; \
+ ${CP} -f ${TEMPLATES}/config.sub ./config.sub; \
+ ${CP} -f ${TEMPLATES}/config.guess ./config.guess; \
+ ${CHMOD} a+rx ./config.sub; \
${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}; \
${GMAKE}; \
done
@@ -71,4 +76,4 @@ do-install:
${GMAKE} install; \
done
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>