1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00

textproc/xmlada, www/aws: Hack to fix build on FreeBSD 8

For an unknown reason, the shared version of the xmlada library fails
to link on FreeBSD 8.  To at least get it building, only the static
version is built on that platform.  As a consequence, www/aws had to
have a similar FreeBSD8-only instruction.  Neither requires plist
adjustments because they both have generated plists.  No bump is
required because neither have been building on FreeBSD 8.

xmlada is due to be updated anyway.  Most Ada libraries are static and
I very well just convert xmlada to be a static-only library without
condition.

While here, fix a check-orphans failure due to licensing on aws.
This commit is contained in:
John Marino 2014-03-26 09:41:57 +00:00
parent 9b50f72e40
commit 87c6b5340d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349237
3 changed files with 12 additions and 1 deletions

View File

@ -0,0 +1,5 @@
# $FreeBSD$
.if ${OSVERSION} < 900000
CONFIGURE_ARGS+= --disable-shared
.endif

View File

@ -132,7 +132,7 @@ post-install:
# additive. Trying to capture every permutation is error prone and
# tedious, so a generated PLIST is the way to go.
@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\/examples$$/d' -e 's/^/@dirrm /g' >> ${TMPPLIST}

6
www/aws/Makefile.FreeBSD Normal file
View File

@ -0,0 +1,6 @@
# $FreeBSD$
.if ${OSVERSION} < 900000
OPTIONS_EXCLUDE=DSRT
CONF_ARGS+= ENABLED_SHARED=false
.endif