pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45270: archivers/xz does not link on Solaris with GCC 4.6



>Number:         45270
>Category:       pkg
>Synopsis:       archivers/xz does not link on Solaris with GCC 4.6
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 19 10:50:01 +0000 2011
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
The configure script of archivers/xz fails to detect, that visibility is not 
supported when using GCC 4.6 and Sun ld.
>How-To-Repeat:

>Fix:
--- Makefile    2011/08/19 10:37:19     1.1
+++ Makefile    2011/08/19 10:39:41
@@ -26,6 +26,10 @@
 CONFIGURE_ARGS+=       --disable-assembler
 .endif
 
+.if ${OPSYS} == "SunOS"
+CONFIGURE_ENV+=        gl_cv_cc_visibility=no
+.endif
+
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index