Fri May 9 12:14:58 2014 UTC ()
devel/gprbuild-aux: Remove unnecessary post-install target

SunOS find does not support -empty.  This was used by the post-install
target to remove empty directories, and the command consequently failed
there.  It turns out that pkgsrc just ignores empty directories when it
is creating the package list so we don't need the target at all.


(marino)
diff -r1.4 -r1.5 pkgsrc/devel/gprbuild-aux/Makefile

cvs diff -r1.4 -r1.5 pkgsrc/devel/gprbuild-aux/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/gprbuild-aux/Attic/Makefile 2014/04/30 16:28:09 1.4
+++ pkgsrc/devel/gprbuild-aux/Attic/Makefile 2014/05/09 12:14:58 1.5
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.4 2014/04/30 16:28:09 marino Exp $ 1# $NetBSD: Makefile,v 1.5 2014/05/09 12:14:58 marino Exp $
2# 2#
3 3
4DISTNAME= gprbuild-aux-${SNAPSHOT} 4DISTNAME= gprbuild-aux-${SNAPSHOT}
5CATEGORIES= devel 5CATEGORIES= devel
6MASTER_SITES= http://downloads.dragonlace.net/src/ \ 6MASTER_SITES= http://downloads.dragonlace.net/src/ \
7 http://dragonlace.mirrors.ada.cx/src/ 7 http://dragonlace.mirrors.ada.cx/src/
8DISTFILES= gprbuild-gpl-${YEAR}-src.tgz 8DISTFILES= gprbuild-gpl-${YEAR}-src.tgz
9 9
10MAINTAINER= draco@marino.st 10MAINTAINER= draco@marino.st
11HOMEPAGE= http://www.adacore.com/home/products/gnatpro/toolsuite/gprbuild/ 11HOMEPAGE= http://www.adacore.com/home/products/gnatpro/toolsuite/gprbuild/
12COMMENT= Adacore multi-language software build tool 12COMMENT= Adacore multi-language software build tool
13LICENSE= gnu-gpl-v3 13LICENSE= gnu-gpl-v3
14 14
@@ -24,20 +24,16 @@ CONFIGURE_ENV+= ADA_PROJECT_PATH=${PREF @@ -24,20 +24,16 @@ CONFIGURE_ENV+= ADA_PROJECT_PATH=${PREF
24WRKSRC= ${WRKDIR}/gprbuild-${YEAR}-src 24WRKSRC= ${WRKDIR}/gprbuild-${YEAR}-src
25 25
26SUBST_CLASSES+= xml 26SUBST_CLASSES+= xml
27SUBST_STAGE.xml= pre-configure 27SUBST_STAGE.xml= pre-configure
28SUBST_MESSAGE.xml= Edit compilers.xml to support lang/gcc-aux runtime 28SUBST_MESSAGE.xml= Edit compilers.xml to support lang/gcc-aux runtime
29SUBST_FILES.xml= share/gprconfig/compilers.xml 29SUBST_FILES.xml= share/gprconfig/compilers.xml
30SUBST_SED.xml= -e "s,@AUXPREFIX@,${PREFIX}/gcc-aux," 30SUBST_SED.xml= -e "s,@AUXPREFIX@,${PREFIX}/gcc-aux,"
31 31
32do-build: 32do-build:
33 # Recreate the do-build target without the -J parameter 33 # Recreate the do-build target without the -J parameter
34 # It interferes with the PROCESSORS configure argument 34 # It interferes with the PROCESSORS configure argument
35 cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} gmake ${MAKE_ARGS} all 35 cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} gmake ${MAKE_ARGS} all
36 36
37post-install: 
38 cd ${DESTDIR}${PREFIX}; ${FIND} share/examples -type d -empty | \ 
39 ${SORT} -dr | ${XARGS} ${RMDIR} 
40 
41.include "../../textproc/xmlada/buildlink3.mk" 37.include "../../textproc/xmlada/buildlink3.mk"
42.include "../../lang/gnat_util/buildlink3.mk" 38.include "../../lang/gnat_util/buildlink3.mk"
43.include "../../mk/bsd.pkg.mk" 39.include "../../mk/bsd.pkg.mk"