Subject: pkg/18867: www/ap-ssl link failure on Solaris
To: None <gnats-bugs@gnats.netbsd.org>
From: None <grant@netbsd.org>
List: netbsd-bugs
Date: 10/31/2002 11:31:48
>Number: 18867
>Category: pkg
>Synopsis: www/ap-ssl link failure on Solaris
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Oct 30 16:32:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: grant beattie
>Release: -current pkgsrc
>Organization:
>Environment:
System: NetBSD mofo 1.6J NetBSD 1.6J (MOFO) #0: Fri Oct 25 00:54:35 EST 2002 grant@mofo:/data1/netbsd/current/src/sys/arch/i386/compile/MOFO i386
Architecture: i386
Machine: i386
>Description:
www/ap-ssl fails to link on Solaris when built with gcc because it
cannot find libgcc.
>How-To-Repeat:
cd www/ap-ssl; make
>Fix:
This works, but I'm not sure if this is the "right" fix.
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/www/ap-ssl/Makefile,v
retrieving revision 1.63
diff -u -r1.63 Makefile
--- Makefile 2002/10/25 09:00:30 1.63
+++ Makefile 2002/10/31 00:28:21
@@ -98,6 +98,10 @@
cd ${WRKSRC}/pkg.sslcfg; ${INSTALL_DATA} README.PRM *.prm \
${EGDIR}/ssl.prm
+.if ${OPSYS} == "SunOS" && ${CC} == "gcc"
+. include "../../lang/gcc/buildlink2.mk"
+.endif
+
.include "../../security/openssl/buildlink2.mk"
.include "../../www/apache/buildlink2.mk"
>Release-Note:
>Audit-Trail:
>Unformatted: