From nobody@FreeBSD.org  Thu Jul 17 22:55:17 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id C3CB2106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 17 Jul 2008 22:55:17 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id A27338FC18
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 17 Jul 2008 22:55:17 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m6HMtHIq009072
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 17 Jul 2008 22:55:17 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m6HMtGcE009061;
	Thu, 17 Jul 2008 22:55:16 GMT
	(envelope-from nobody)
Message-Id: <200807172255.m6HMtGcE009061@www.freebsd.org>
Date: Thu, 17 Jul 2008 22:55:16 GMT
From: Max Brazhnikov <makc@issp.ac.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: maintainer update: science/openbabel fix build on 6.3
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         125728
>Category:       ports
>Synopsis:       maintainer update: science/openbabel fix build on 6.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 17 23:00:04 UTC 2008
>Closed-Date:    Fri Jul 18 15:49:20 UTC 2008
>Last-Modified:  Fri Jul 18 15:50:04 UTC 2008
>Originator:     Max Brazhnikov
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
FreeBSD luna.dio.ru 7.0-STABLE FreeBSD 7.0-STABLE #3: Sat Jul 12 00:03:43 MSD 2008     root@luna.dio.ru:/usr/obj/usr/freebsd/7/src/sys/LUNA  i386
>Description:
gcc42 brings more problems than solves. Use system compiler on 6.3 (and thus add dependency on boost-python).

use system compiler for science/gchemutils also

bump portrevisions for these two ports.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN --exclude=CVS /usr/ports/science/openbabel/Makefile /home/makc/porting/ports/science/openbabel/Makefile
--- /usr/ports/science/openbabel/Makefile	2008-07-08 17:57:49.000000000 +0400
+++ /home/makc/porting/ports/science/openbabel/Makefile	2008-07-17 23:15:30.000000000 +0400
@@ -8,6 +8,7 @@
 
 PORTNAME=	openbabel
 PORTVERSION=	2.2.0
+PORTREVISION=	1
 CATEGORIES=	science
 MASTER_SITES=	SF
 
@@ -17,7 +18,6 @@
 USE_GNOME=	gnomehack gnometarget libxml2
 USE_AUTOTOOLS=	libtool:15
 USE_LDCONFIG=	yes
-USE_GCC=	4.2+
 
 MAN1=		obchiral.1 obconformer.1 obenergy.1 obfit.1 obgen.1 obgrep.1 \
 		obminimize.1 obprobe.1 obprop.1 obrotamer.1 obrotate.1 \
@@ -31,6 +31,10 @@
 BROKEN=		does not compile on ia64 (gcc internal error)
 .endif
 
+.if (${OSVERSION} < 700042)
+LIB_DEPENDS+=	boost_thread.4:${PORTSDIR}/devel/boost-python
+.endif
+
 post-extract:
 	@${LN} -sf babel.1 ${WRKSRC}/doc/openbabel.1
 
diff -ruN --exclude=CVS /usr/ports/science/gchemutils/Makefile /home/makc/porting/ports/science/gchemutils/Makefile
--- /usr/ports/science/gchemutils/Makefile	2008-07-10 12:26:45.000000000 +0400
+++ /home/makc/porting/ports/science/gchemutils/Makefile	2008-07-17 23:11:01.000000000 +0400
@@ -7,6 +7,7 @@
 
 PORTNAME=	gchemutils
 PORTVERSION=	0.8.7
+PORTREVISION=	1
 CATEGORIES=	science
 MASTER_SITES=	${MASTER_SITE_SAVANNAH}
 MASTER_SITE_SUBDIR=	${PORTNAME}/0.8
@@ -24,8 +25,6 @@
 		${LOCALBASE}/libdata/pkgconfig/chemical-mime-data.pc:${PORTSDIR}/science/chemical-mime-data
 
 USE_BZIP2=	yes
-# because of openbabel
-USE_GCC=	4.2+
 USE_GNOME=	gnomehack intlhack libglade2 libgnomeprintui libgnomeui gnomedocutils
 USE_GMAKE=	yes
 USE_LDCONFIG=	yes


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Jul 17 23:00:21 UTC 2008 
Responsible-Changed-Why:  
miwi@ wants his PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=125728 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Fri Jul 18 15:49:18 UTC 2008 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=125728 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/125728: commit references a PR
Date: Fri, 18 Jul 2008 15:49:17 +0000 (UTC)

 miwi        2008-07-18 15:49:08 UTC
 
   FreeBSD ports repository
 
   Modified files:
     science/openbabel    Makefile 
     science/gchemutils   Makefile 
     science/gchempaint   Makefile 
   Log:
   - Fix build on 6.3
   
   PR:             125728
   Submitted by:   Max Brazhnikov <makc@issp.ac.ru>
   
   Revision  Changes    Path
   1.65      +1 -3      ports/science/gchempaint/Makefile
   1.60      +1 -2      ports/science/gchemutils/Makefile
   1.20      +5 -1      ports/science/openbabel/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
