diff options
author | marino <marino@FreeBSD.org> | 2014-03-14 07:46:25 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2014-03-14 07:46:25 +0800 |
commit | 39d5bb770af0a8029451d57b068586920126b470 (patch) | |
tree | 0131f9720522a1d70ff40483da39d7beea4b63ce /lang/asis | |
parent | 30735f3d53506a901f8225073fab1bc9daf853e3 (diff) | |
download | freebsd-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/asis')
-rw-r--r-- | lang/asis/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
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' \ |