1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Fix build with non-base compilers (gcc46, clang...)

Feature safe:	yes
This commit is contained in:
Juergen Lock 2012-03-17 23:18:04 +00:00
parent 3177d9d320
commit b686c4f981
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=293484

View File

@ -28,7 +28,15 @@ AUTOMAKE_ARGS= --add-missing
GNU_CONFIGURE_PREFIX= ${PREFIX}/share/xbmc
CONFLICTS= xbmc-[0-9]*
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 900033
BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils
CONFIGURE_ENV+= COMPILER_PATH=${LOCALBASE}/bin
MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin
.endif
post-patch:
(cd ${WRKSRC} && ${TOUCH} ./NEWS ./AUTHORS ./ChangeLog)
.include <bsd.port.mk>
.include <bsd.port.post.mk>