Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jul 2008 22:55:16 GMT
From:      Max Brazhnikov <makc@issp.ac.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/125728: maintainer update: science/openbabel fix build on 6.3
Message-ID:  <200807172255.m6HMtGcE009061@www.freebsd.org>
Resent-Message-ID: <200807172300.m6HN04Ur049229@freefall.freebsd.org>

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

>Number:         125728
>Category:       ports
>Synopsis:       maintainer update: science/openbabel fix build on 6.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 17 23:00:04 UTC 2008
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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