From e1c7d3c66f73cd5370637dc75c4c15eac7bec3f3 Mon Sep 17 00:00:00 2001 From: gerald Date: Mon, 21 Jul 2014 19:37:43 +0000 Subject: Also clean *.la files in LIBEXEC, and recursively so, here and for TARGLIB. --- lang/gcc46/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lang') diff --git a/lang/gcc46/Makefile b/lang/gcc46/Makefile index c2533d58f303..2e48e32cb570 100644 --- a/lang/gcc46/Makefile +++ b/lang/gcc46/Makefile @@ -3,7 +3,7 @@ PORTNAME= gcc46 PORTVERSION= 4.6.4 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= lang java MASTER_SITES= ${MASTER_SITE_GCC} @@ -126,7 +126,8 @@ full-regression-test: build .endif post-install: - ${RM} -f ${STAGEDIR}${TARGLIB}/*.la + ${FIND} ${STAGEDIR}${TARGLIB} ${STAGEDIR}${LIBEXEC} \ + -name '*.la' | ${XARGS} ${RM} ${RM} -f ${STAGEDIR}${PREFIX}/man/man7/* ${RM} -f ${STAGEDIR}${PREFIX}/bin/rebuild-gcj-db${SUFFIX} \ ${STAGEDIR}${PREFIX}/man/man1/rebuild-gcj-db${SUFFIX}.1 -- cgit