1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

Fix Build on AMD64

Approved by:	maintainer
This commit is contained in:
Tilman Keskinoz 2004-03-04 17:17:52 +00:00
parent b1494aee9d
commit 2189f3d9e4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=102927

View File

@ -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>