aboutsummaryrefslogtreecommitdiff
path: root/lang/gnatdroid-binutils
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2015-11-30 00:15:39 +0000
committerJohn Marino <marino@FreeBSD.org>2015-11-30 00:15:39 +0000
commit82cfb486dcace15703c07118ce15de0df97de7c6 (patch)
tree3f79e9eacef428835dfcecd5e6e8756fb8bb41df /lang/gnatdroid-binutils
parentbf321e107350cbe076eacf731e15d3b14031f8c3 (diff)
downloadports-82cfb486dcace15703c07118ce15de0df97de7c6.tar.gz
ports-82cfb486dcace15703c07118ce15de0df97de7c6.zip
Notes
Diffstat (limited to 'lang/gnatdroid-binutils')
-rw-r--r--lang/gnatdroid-binutils/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/lang/gnatdroid-binutils/Makefile b/lang/gnatdroid-binutils/Makefile
index b705cf3b7892..43c52f4e98a3 100644
--- a/lang/gnatdroid-binutils/Makefile
+++ b/lang/gnatdroid-binutils/Makefile
@@ -3,18 +3,18 @@
PORTNAME= binutils
PORTVERSION= 2.25.1
-PORTREVISION= 1
+PORTREVISION?= 1
CATEGORIES= lang
MASTER_SITES= SOURCEWARE/binutils/releases
PKGNAMEPREFIX= gnatdroid-
-MAINTAINER= marino@FreeBSD.org
-COMMENT= Infrastructure for C/Ada Android cross-compiler
+MAINTAINER?= marino@FreeBSD.org
+COMMENT?= Infrastructure for C/Ada Android cross-compiler (ARMv7)
LICENSE= GPLv3 LGPL3
LICENSE_COMB= multi
-BUILD_DEPENDS= gnatdroid-sysroot>=19:${PORTSDIR}/lang/gnatdroid-sysroot \
+BUILD_DEPENDS= ${SYSROOT}>=19:${PORTSDIR}/lang/${SYSROOT} \
${LOCALBASE}/lib/libgmp.so:${PORTSDIR}/math/gmp \
${LOCALBASE}/lib/libmpfr.so:${PORTSDIR}/math/mpfr
RUN_DEPENDS:= ${BUILD_DEPENDS}
@@ -26,14 +26,15 @@ NO_MTREE= yes
NO_LICENSES_INSTALL= yes
WRKSRC= ${WRKDIR}/binutils-${PORTVERSION}
-PREFIX= ${LOCALBASE}/android
-BRANCH2= ARMv7
+PREFIX?= ${LOCALBASE}/android
+BRANCH2?= ARMv7
BR2_PREFIX= ${PREFIX}/${BRANCH2}
-ARMTARGET= arm-aux-linux-androideabi
-PLIST_SUB+= TARGET="${ARMTARGET}"
+XCCTARGET?= arm-aux-linux-androideabi
+SYSROOT?= gnatdroid-sysroot
+PLIST_SUB+= TARGET="${XCCTARGET}"
PLIST_SUB+= BRANCH2="${BRANCH2}"
-CONFIGURE_ARGS+= --target=${ARMTARGET}
+CONFIGURE_ARGS+= --target=${XCCTARGET}
CONFIGURE_ARGS+= --prefix=${BR2_PREFIX}
CONFIGURE_ARGS+= --with-sysroot=${PREFIX}
CONFIGURE_ARGS+= --with-gmp=${LOCALBASE}