pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/gprbuild-aux devel/gprbuild-aux: Remove unnecess...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6ae095749def
branches:  trunk
changeset: 634131:6ae095749def
user:      marino <marino%pkgsrc.org@localhost>
date:      Fri May 09 12:14:58 2014 +0000

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

diffstat:

 devel/gprbuild-aux/Makefile |  6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diffs (20 lines):

diff -r 0db5728be077 -r 6ae095749def devel/gprbuild-aux/Makefile
--- a/devel/gprbuild-aux/Makefile       Fri May 09 11:59:27 2014 +0000
+++ b/devel/gprbuild-aux/Makefile       Fri May 09 12:14:58 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2014/04/30 16:28:09 marino Exp $
+# $NetBSD: Makefile,v 1.5 2014/05/09 12:14:58 marino Exp $
 #
 
 DISTNAME=      gprbuild-aux-${SNAPSHOT}
@@ -34,10 +34,6 @@
        # It interferes with the PROCESSORS configure argument
        cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} gmake ${MAKE_ARGS} all
 
-post-install:
-       cd ${DESTDIR}${PREFIX}; ${FIND} share/examples -type d -empty | \
-               ${SORT} -dr | ${XARGS} ${RMDIR}
-
 .include "../../textproc/xmlada/buildlink3.mk"
 .include "../../lang/gnat_util/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index