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:
parent
9b50f72e40
commit
87c6b5340d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349237
5
textproc/xmlada/Makefile.FreeBSD
Normal file
5
textproc/xmlada/Makefile.FreeBSD
Normal file
@ -0,0 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.if ${OSVERSION} < 900000
|
||||
CONFIGURE_ARGS+= --disable-shared
|
||||
.endif
|
@ -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
6
www/aws/Makefile.FreeBSD
Normal file
@ -0,0 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.if ${OSVERSION} < 900000
|
||||
OPTIONS_EXCLUDE=DSRT
|
||||
CONF_ARGS+= ENABLED_SHARED=false
|
||||
.endif
|
Loading…
x
Reference in New Issue
Block a user