aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-03-14 07:46:25 +0800
committermarino <marino@FreeBSD.org>2014-03-14 07:46:25 +0800
commit39d5bb770af0a8029451d57b068586920126b470 (patch)
tree0131f9720522a1d70ff40483da39d7beea4b63ce /lang
parent30735f3d53506a901f8225073fab1bc9daf853e3 (diff)
downloadfreebsd-ports-gnome-39d5bb770af0a8029451d57b068586920126b470.tar.gz
freebsd-ports-gnome-39d5bb770af0a8029451d57b068586920126b470.tar.zst
freebsd-ports-gnome-39d5bb770af0a8029451d57b068586920126b470.zip
Tie libgnat_util.a to libasis
Rather than specify gnat_util every time ASIS is a dependency, set it as a library dependency for ASIS. LIB_DEPENDS doesn't work because it is a static library, so just manually add libgnat_util.a to BUILD_DEPENDS and RUN_DEPENDS, then adjust 3 ports accordingly.
Diffstat (limited to 'lang')
-rw-r--r--lang/adacontrol/Makefile3
-rw-r--r--lang/asis/Makefile7
2 files changed, 6 insertions, 4 deletions
diff --git a/lang/adacontrol/Makefile b/lang/adacontrol/Makefile
index e872ff4f06c1..996e210c8cb6 100644
--- a/lang/adacontrol/Makefile
+++ b/lang/adacontrol/Makefile
@@ -15,8 +15,7 @@ COMMENT= Tool for detecting use or non-use of specific Ada constructs
LICENSE= GPLv2 GMGPL
LICENSE_COMB= multi
-BUILD_DEPENDS= asis>=2011:${PORTSDIR}/lang/asis \
- gnat_util>=2013:${PORTSDIR}/lang/gnat_util
+BUILD_DEPENDS= asis>=2011:${PORTSDIR}/lang/asis
USES= ada gmake
WRKSRC= ${WRKDIR}/adactl-${PORTVERSION}
diff --git a/lang/asis/Makefile b/lang/asis/Makefile
index 28802315beb8..a307e6d9d24c 100644
--- a/lang/asis/Makefile
+++ b/lang/asis/Makefile
@@ -3,7 +3,7 @@
PORTNAME= asis
PORTVERSION= 2011
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= lang
MASTER_SITES= http://downloads.dragonlace.net/src/
DISTNAME= ${PORTNAME}-gpl-${PORTVERSION}-src
@@ -15,11 +15,14 @@ COMMENT= GNAT implementation of Ada Semantic Interface Specification
LICENSE= GPLv2
BUILD_DEPENDS= gnat_util>=2013:${PORTSDIR}/lang/gnat_util \
- xmlada>=3.2:${PORTSDIR}/textproc/xmlada
+ xmlada>=3.2:${PORTSDIR}/textproc/xmlada \
+ ${GUSTATIC}:${PORTSDIR}/lang/gnat_util
+RUN_DEPENDS= ${GUSTATIC}:${PORTSDIR}/lang/gnat_util
USES= ada gmake
NO_MTREE= yes
MAKE_ENV= PROCESSORS=${MAKE_JOBS_NUMBER}
+GUSTATIC= ${LOCALBASE}/lib/gnat_util/libgnat_util.a
post-extract:
@${REINPLACE_CMD} -e 's|OPSYS|ASISOPSYS|g' \