From 029a2d7f9e107188cdf9578bc4bb72ff67b4c5e7 Mon Sep 17 00:00:00 2001 From: John Marino Date: Thu, 13 Mar 2014 23:46:25 +0000 Subject: 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. --- lang/asis/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'lang/asis') 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' \ -- cgit