From b686c4f981586af6b11765856e375a24ebb0e5c9 Mon Sep 17 00:00:00 2001 From: Juergen Lock Date: Sat, 17 Mar 2012 23:18:04 +0000 Subject: [PATCH] Fix build with non-base compilers (gcc46, clang...) Feature safe: yes --- multimedia/xbmc-addon-xvdr/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/multimedia/xbmc-addon-xvdr/Makefile b/multimedia/xbmc-addon-xvdr/Makefile index 3fe9b1aafce4..ef90b9619881 100644 --- a/multimedia/xbmc-addon-xvdr/Makefile +++ b/multimedia/xbmc-addon-xvdr/Makefile @@ -28,7 +28,15 @@ AUTOMAKE_ARGS= --add-missing GNU_CONFIGURE_PREFIX= ${PREFIX}/share/xbmc CONFLICTS= xbmc-[0-9]* +.include + +.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 +.include