Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 May 2012 06:31:10 GMT
From:      Mark Linimon <linimon@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/168358: devel/cxxtools: attempt to fix plist on !amd64
Message-ID:  <201205270631.q4R6VAGW051629@freefall.freebsd.org>
Resent-Message-ID: <201205270640.q4R6e31n067762@freefall.freebsd.org>

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

>Number:         168358
>Category:       ports
>Synopsis:       devel/cxxtools: attempt to fix plist on !amd64
>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:   Sun May 27 06:40:03 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Mark Linimon
>Release:        FreeBSD 9.0-STABLE i386
>Organization:
FreeBSD
>Environment:
System: FreeBSD freefall.freebsd.org 9.0-STABLE FreeBSD 9.0-STABLE #6 r235139: Tue May 8 21:19:03 UTC 2012 simon@freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL i386
>Description:
Recent runs of this port on i386 and powerpc are showing problems during deinstallation:

http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.8.20120525110836/cxxtools-2.1.log
http://pointyhat.freebsd.org/errorlogs/powerpc-errorlogs/e.9.20120524052331/cxxtools-2.1.log
>How-To-Repeat:
>Fix:
Not yet tested, so this will need tinderboxing.

(In case this also fixes things on sparc64, I remove that stanza too.)

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/cxxtools/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile	27 Apr 2012 17:46:03 -0000	1.8
+++ Makefile	27 May 2012 06:27:40 -0000
@@ -23,8 +23,10 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${ARCH} == "sparc64"
-BROKEN=		Does not configure on sparc64
+.if ${ARCH} == amd64
+PLIST_SUB+=	X86_64_ONLY=""
+.else
+PLIST_SUB+=	X86_64_ONLY="@comment "
 .endif
 
 .include <bsd.port.post.mk>
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/devel/cxxtools/pkg-plist,v
retrieving revision 1.3
diff -u -r1.3 pkg-plist
--- pkg-plist	27 Apr 2012 17:46:03 -0000	1.3
+++ pkg-plist	27 May 2012 06:27:40 -0000
@@ -33,7 +33,7 @@
 include/cxxtools/arg.h
 include/cxxtools/argin.h
 include/cxxtools/argout.h
-include/cxxtools/atomicity.gcc.x86_64.h
+%%X86_64_ONLY%%include/cxxtools/atomicity.gcc.x86_64.h
 include/cxxtools/atomicity.h
 include/cxxtools/base64codec.h
 include/cxxtools/base64stream.h
>Release-Note:
>Audit-Trail:
>Unformatted:



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