Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 2002 05:35:17 -0700 (PDT)
From:      Paul Marquis <pmarquis@pobox.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/39921: Maintainer update port: devel/stlport
Message-ID:  <200206271235.g5RCZHBE087883@www.freebsd.org>

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

>Number:         39921
>Category:       ports
>Synopsis:       Maintainer update port: devel/stlport
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 27 05:40:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Paul Marquis
>Release:        4-STABLE
>Organization:
>Environment:
FreeBSD sboy.pmarquis.com 4.6-STABLE FreeBSD 4.6-STABLE #0: Tue Jun 25 21:43:42 EDT 2002     pmarquis@sboy.pmarquis.com:/usr/obj/home/src/sys/SBOY  i386
>Description:
Warn of potential exception handling bugs in FreeBSD versions < 4.6.
>How-To-Repeat:
      
>Fix:
--- Makefile.orig	Tue Jun 25 10:19:45 2002
+++ Makefile	Thu Jun 27 08:33:50 2002
@@ -34,6 +34,14 @@
 BROKEN=		"Not supported on systems prior to FreeBSD 4.4"
 .endif
 
+.if ${OSVERSION} < 460000
+pre-everything:
+	@${ECHO_MSG}
+	@${ECHO_MSG} "There may be a bug in your version of gcc's exception"
+	@${ECHO_MSG} "handling code.  Consider upgrading to FreeBSD 4.6"
+	@${ECHO_MSG} "or above."
+.endif
+
 post-install:
 	${FIND} ${PREFIX}/include/stlport -name \*.orig -delete
 .if !defined(NOPORTDOCS)
@@ -43,7 +51,11 @@
 	${INSTALL_DATA} ${WRKSRC}/../doc/images/* ${DOCSDIR}/images
 .endif
 
-post-build test:
+.if ${OSVERSION} >= 46000
+post-build:	test
+.endif
+
+test:
 	cd ${WRKSRC}/../test/eh && ${SETENV} CC=${CC} CXX=${CXX} \
 	${GMAKE} -f ${MAKEFILE} PTHREAD_CFLAGS=${PTHREAD_CFLAGS} \
 	PTHREAD_LIBS=${PTHREAD_LIBS} PTHREAD_CFLAGS=${PTHREAD_CFLAGS} \

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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