svn commit: r355093 - head/lang/gnat_util

John Marino marino at FreeBSD.org
Sat May 24 21:46:08 UTC 2014


Author: marino
Date: Sat May 24 21:46:07 2014
New Revision: 355093
URL: http://svnweb.freebsd.org/changeset/ports/355093
QAT: https://qat.redports.org/buildarchive/r355093/

Log:
  lang/gnat_util: Carry impunit.ad[bs] source files
  
  The GNAT Programming Studio needs the impunit.ad[bs] files in order
  to create a menu based on the gnat source code.  Just carry these
  source files with the others that are used to build gnat_util and then
  use the GPS port makefile to pull it in as needed.  A quick check with
  poudriere indicates that ports dependent on gnat_util still build fine.

Modified:
  head/lang/gnat_util/Makefile

Modified: head/lang/gnat_util/Makefile
==============================================================================
--- head/lang/gnat_util/Makefile	Sat May 24 21:31:01 2014	(r355092)
+++ head/lang/gnat_util/Makefile	Sat May 24 21:46:07 2014	(r355093)
@@ -3,7 +3,7 @@
 
 PORTNAME=	gnat_util
 PORTVERSION=	${SNAPSHOT}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	lang
 MASTER_SITES=	${MASTER_SITE_GCC}
 MASTER_SITE_SUBDIR= ${MS_SUBDIR}
@@ -35,6 +35,9 @@ post-extract:
 .endfor
 
 post-install:
+	# impunit is needed for GPS menus, just provide the source files
+	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/gcc/ada/impunit.* \
+		${STAGEDIR}${PREFIX}/include/gnat_util
 	@cd ${STAGEDIR}${PREFIX}; ${FIND} * \( -type f -or -type l \) | \
 	   ${SORT} >> ${TMPPLIST}
 	@cd ${STAGEDIR}${PREFIX}; ${FIND} * -type d | ${AWK} '/\//' | \


More information about the svn-ports-all mailing list