ports/179363: [MAINTAINER] lang/gcc-aux: Fix leftovers check on tinderbox

John Marino draco at marino.st
Thu Jun 6 10:30:01 UTC 2013


>Number:         179363
>Category:       ports
>Synopsis:       [MAINTAINER] lang/gcc-aux: Fix leftovers check on tinderbox
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 06 10:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     John Marino
>Release:        
>Organization:
>Environment:
>Description:
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.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- Makefile.orig	2013-05-12 09:11:15.346607000 +0000
+++ Makefile
@@ -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:



>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list