Bug 179363 - [MAINTAINER] lang/gcc-aux: Fix leftovers check on tinderbox
Summary: [MAINTAINER] lang/gcc-aux: Fix leftovers check on tinderbox
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-06 11:30 UTC by John Marino
Modified: 2013-06-06 21:00 UTC (History)
0 users

See Also:


Attachments
file.diff (509 bytes, patch)
2013-06-06 11:30 UTC, John Marino
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Marino 2013-06-06 11:30:00 UTC
This error doesn't show on poudriere, it's specific to tinderbox it seems.  In any case, the patch has been hanging around internally for a few weeks but keeps falling through the cracks.   Posting as a PR so it doesn't stay lost.

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer 2013-06-06 11:30:13 UTC
Class Changed
From-To: sw-bug->maintainer-update

Fix category (submitter is maintainer) (via the GNATS Auto Assign Tool)
Comment 2 Raphael Kubo da Costa freebsd_committer 2013-06-06 20:56:07 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer 2013-06-06 20:56:08 UTC
Author: rakuco
Date: Thu Jun  6 19:55:55 2013
New Revision: 320124
URL: http://svnweb.freebsd.org/changeset/ports/320124

Log:
  Fix leftovers check on tinderbox by removing empty directories.
  
  PR:		ports/179363
  Submitted by:	John Marino <draco@marino.st> (maintainer)

Modified:
  head/lang/gcc-aux/Makefile

Modified: head/lang/gcc-aux/Makefile
==============================================================================
--- head/lang/gcc-aux/Makefile	Thu Jun  6 19:53:29 2013	(r320123)
+++ head/lang/gcc-aux/Makefile	Thu Jun  6 19:55:55 2013	(r320124)
@@ -3,6 +3,7 @@
 
 PORTNAME=	gcc-aux
 PORTVERSION=	${SNAPSHOT}
+PORTREVISION=	1
 CATEGORIES=	lang
 MASTER_SITES=	http://downloads.dragonlace.net/src/:boot \
 		${MASTER_SITE_GCC}
@@ -289,6 +290,7 @@ test-c:
 
 do-install:
 	cd ${BUILDDIR} && ${SETENV} ${ADA_MAKE_ENV} ${GMAKE} install-strip DESTDIR=${DESTINY}
+	cd ${DESTINY}${PREFIX}; ${FIND} * -type d -empty -print | xargs rmdir
 	${CP} -pR ${DESTINY}${PREFIX}/ ${PREFIX}/
 
 post-install:
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"