Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2014 09:41:57 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r349237 - in head: textproc/xmlada www/aws
Message-ID:  <201403260941.s2Q9fvun008101@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Wed Mar 26 09:41:57 2014
New Revision: 349237
URL: http://svnweb.freebsd.org/changeset/ports/349237
QAT: https://qat.redports.org/buildarchive/r349237/

Log:
  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.

Added:
  head/textproc/xmlada/Makefile.FreeBSD   (contents, props changed)
  head/www/aws/Makefile.FreeBSD   (contents, props changed)
Modified:
  head/www/aws/Makefile

Added: head/textproc/xmlada/Makefile.FreeBSD
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/xmlada/Makefile.FreeBSD	Wed Mar 26 09:41:57 2014	(r349237)
@@ -0,0 +1,5 @@
+# $FreeBSD$
+
+.if ${OSVERSION} < 900000
+CONFIGURE_ARGS+= --disable-shared
+.endif

Modified: head/www/aws/Makefile
==============================================================================
--- head/www/aws/Makefile	Wed Mar 26 08:50:34 2014	(r349236)
+++ head/www/aws/Makefile	Wed Mar 26 09:41:57 2014	(r349237)
@@ -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}

Added: head/www/aws/Makefile.FreeBSD
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/aws/Makefile.FreeBSD	Wed Mar 26 09:41:57 2014	(r349237)
@@ -0,0 +1,6 @@
+# $FreeBSD$
+
+.if ${OSVERSION} < 900000
+OPTIONS_EXCLUDE=DSRT
+CONF_ARGS+=	ENABLED_SHARED=false
+.endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403260941.s2Q9fvun008101>