aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornox <nox@FreeBSD.org>2012-03-18 07:18:04 +0800
committernox <nox@FreeBSD.org>2012-03-18 07:18:04 +0800
commit8f8f51aeb2bb66480cb21e66fe20556ee98c6637 (patch)
tree7b14c85cba1a3e62d2da7f97c52a7fdd0143f2a8
parented72e23949c951f732ee7a9ba65529ff0528a8b3 (diff)
downloadfreebsd-ports-gnome-8f8f51aeb2bb66480cb21e66fe20556ee98c6637.tar.gz
freebsd-ports-gnome-8f8f51aeb2bb66480cb21e66fe20556ee98c6637.tar.zst
freebsd-ports-gnome-8f8f51aeb2bb66480cb21e66fe20556ee98c6637.zip
Fix build with non-base compilers (gcc46, clang...)
Feature safe: yes
-rw-r--r--multimedia/xbmc-addon-xvdr/Makefile10
1 files changed, 9 insertions, 1 deletions
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 <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>