Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Apr 2006 13:56:09 +0200 (CEST)
From:      Joerg Pulz <Joerg.Pulz@frm2.tum.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/96137: net/openam: mark partially BROKEN on sparc64, take it
Message-ID:  <200604211156.k3LBu974001945@hades.admin.frm2>
Resent-Message-ID: <200604211200.k3LC0Rj9053942@freefall.freebsd.org>

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

>Number:         96137
>Category:       ports
>Synopsis:       net/openam: mark partially BROKEN on sparc64, take it
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 21 12:00:27 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Joerg Pulz
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
TU-Munich / ZWE FRM-II
>Environment:
System: FreeBSD hades.admin.frm2 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #11: Wed Feb 22 19:01:44 CET 2006 root@hades.admin.frm2:/usr/obj/usr/src/sys/HADES i386


	
>Description:
	Due to a missing symbol in the default thread library on sparc64 in 
	OSVERSION <= 700003, the build ends with an linker error.
	- mark it as BROKEN for this particular case

	As this port is currently without maintainer, i will take it.

	Reported by:		Kris (pointyhat)
	Discussed on:		freebsd-threads@, freebsd-sparc64@
	Review and test on:	RELENG_6_1 i386, amd64, sparc64
				CURRENT i386, amd64
>How-To-Repeat:
	
>Fix:

	- apply the patch

--- net_openam.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/openam/Makefile,v
retrieving revision 1.31
diff -u -r1.31 Makefile
--- Makefile	14 Mar 2006 01:52:25 -0000	1.31
+++ Makefile	21 Apr 2006 11:25:00 -0000
@@ -12,7 +12,7 @@
 DISTNAME=	${PORTNAME}-v${PORTVERSION:S/./_/g}-src-
 EXTRACT_SUFX=	tar.gz
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	Joerg.Pulz@frm2.tum.de
 COMMENT=	H323 Answer Machine
 
 LIB_DEPENDS=	h323_r.1:${PORTSDIR}/net/openh323
@@ -30,6 +30,12 @@
 PLIST_SUB=	PORTNAME=${PORTNAME}
 DOCSDIR=	${PREFIX}/share/doc/openh323
 
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == sparc64 && ${OSVERSION} <= 700003
+BROKEN=	does not link due to missing symbol in default thread library
+.endif
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/obj_r/openam ${PREFIX}/bin
 	@${MKDIR} ${DOCSDIR}/${PORTNAME}
@@ -37,4 +43,4 @@
 	${INSTALL_DATA} ${WRKSRC}/sample_message.wav ${DOCSDIR}/${PORTNAME}
 	${INSTALL_DATA} ${WRKSRC}/sample_message_g7231.wav ${DOCSDIR}/${PORTNAME}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- net_openam.diff ends here ---


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



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