Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jun 2013 10:28:23 GMT
From:      John Marino <draco@marino.st>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/179363: [MAINTAINER] lang/gcc-aux: Fix leftovers check on tinderbox
Message-ID:  <201306061028.r56ASNks035470@oldred.freebsd.org>
Resent-Message-ID: <201306061030.r56AU0Gx093000@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306061028.r56ASNks035470>