aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/gprbuild/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/devel/gprbuild/Makefile b/devel/gprbuild/Makefile
index 42722a87ffbe..9a8cbd8de965 100644
--- a/devel/gprbuild/Makefile
+++ b/devel/gprbuild/Makefile
@@ -20,10 +20,8 @@ DOCSDIR= share/doc/gprbuild
WRKSRC= ${WRKDIR}/gprbuild-2012-src
SNAPSHOT= 20120510
GNU_CONFIGURE= yes
-USE_GMAKE= yes
-USES+= ada
+USES= ada gmake
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${OPSYS} == "FreeBSD"
@@ -34,4 +32,8 @@ post-patch:
@${REINPLACE_CMD} -e "s,@AUXPREFIX@,${PREFIX}/gcc-aux," \
${WRKSRC}/share/gprconfig/compilers.xml
+post-install:
+ cd ${STAGEDIR}${PREFIX}; ${FIND} share -type d -empty | \
+ ${SORT} -dr | ${XARGS} ${RMDIR}
+
.include <bsd.port.post.mk>