1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

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.
This commit is contained in:
John Marino 2014-03-13 23:46:25 +00:00
parent e248dd7b80
commit 029a2d7f9e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348143
4 changed files with 8 additions and 8 deletions

View File

@ -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}

View File

@ -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' \

View File

@ -13,8 +13,7 @@ COMMENT= HTML generator for Ada 95 library unit specifications
LICENSE= GPLv2
BUILD_DEPENDS= asis>=2011:${PORTSDIR}/lang/asis \
gnat_util>=2013:${PORTSDIR}/lang/gnat_util
BUILD_DEPENDS= asis>=2011:${PORTSDIR}/lang/asis
USES= ada
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}

View File

@ -14,7 +14,6 @@ COMMENT= Ada2005 language bindings to Qt4 framework
LICENSE= GPLv2
BUILD_DEPENDS= gprbuild>=20120510:${PORTSDIR}/devel/gprbuild \
gnat_util>=2013:${PORTSDIR}/lang/gnat_util \
asis>=2011:${PORTSDIR}/lang/asis
USES= ada gmake pkgconfig
@ -28,7 +27,7 @@ post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/share
${MV} ${STAGEDIR}${PREFIX}/examples ${STAGEDIR}${PREFIX}/share/
@cd ${STAGEDIR}${PREFIX}; ${FIND} * \( -type f -or -type l \) | \
${SORT} > ${TMPPLIST}
${SORT} >> ${TMPPLIST}
@cd ${STAGEDIR}${PREFIX}; ${FIND} * -type d | ${AWK} '/\//' | \
${SORT} -r | ${SED} -e '/lib\/gnat$$/d' -e '/share\/doc$$/d' \
-e '/share\/gps$$/d' -e '/share\/gps\/plug-ins$$/d' \