From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Sep 27 06:20:02 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 52B35E12 for ; Fri, 27 Sep 2013 06:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 32BDD2470 for ; Fri, 27 Sep 2013 06:20:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r8R6K2YC073188 for ; Fri, 27 Sep 2013 06:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r8R6K2LV073187; Fri, 27 Sep 2013 06:20:02 GMT (envelope-from gnats) Resent-Date: Fri, 27 Sep 2013 06:20:02 GMT Resent-Message-Id: <201309270620.r8R6K2LV073187@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Han Frederic Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 751A4CFB for ; Fri, 27 Sep 2013 06:15:49 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 48F552458 for ; Fri, 27 Sep 2013 06:15:49 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r8R6FmAw022527 for ; Fri, 27 Sep 2013 06:15:48 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r8R6Fm6H022489; Fri, 27 Sep 2013 06:15:48 GMT (envelope-from nobody) Message-Id: <201309270615.r8R6Fm6H022489@oldred.freebsd.org> Date: Fri, 27 Sep 2013 06:15:48 GMT From: Han Frederic To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/182431: [Maintainer] math/giacxcas fixes for FreeBSD 10 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Sep 2013 06:20:02 -0000 >Number: 182431 >Category: ports >Synopsis: [Maintainer] math/giacxcas fixes for FreeBSD 10 >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: Fri Sep 27 06:20:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Han Frederic >Release: FreeBSD 10 and FreeBSD 8.2 >Organization: Universite Paris 7 >Environment: FreeBSD bsd10amd64 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r255342: Sat Sep 7 07:34:47 UTC 2013 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: I was reported the followinf pkg-fallout: http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2013-09-26_00h44m15s/logs/giacxcas-1.1.0.log -add USE_GCC, and some other dependancies. -Then, there was problems with NTL 6.0. I asked upstream and was reported that they didn't try this version yet so I have disable NTL for freebsd10 only. >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN giacxcas/Makefile giacxcas.new/Makefile --- giacxcas/Makefile 2013-09-20 22:55:04.000000000 +0200 +++ giacxcas.new/Makefile 2013-09-26 23:01:22.000000000 +0200 @@ -1,8 +1,9 @@ # Created by: Frederic Han -# $FreeBSD: math/giacxcas/Makefile 327746 2013-09-20 20:55:04Z bapt $ +# $FreeBSD: math/giacxcas/Makefile 326854 2013-09-10 01:23:13Z wg $ PORTNAME= giacxcas PORTVERSION= 1.1.0 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= http://www-fourier.ujf-grenoble.fr/~parisse/giac/freebsd/ \ http://www.math.jussieu.fr/~han/xcas/sources/ @@ -17,6 +18,8 @@ BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \ ${LOCALBASE}/lib/libntl.a:${PORTSDIR}/math/ntl LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \ + libpng.so:${PORTSDIR}/graphics/png \ + libjpeg.so:${PORTSDIR}/graphics/jpeg \ libpari.so:${PORTSDIR}/math/pari \ libmpfr.so:${PORTSDIR}/math/mpfr \ libgsl.so:${PORTSDIR}/math/gsl \ @@ -30,7 +33,7 @@ USE_TEX= latex:build dvipsk:build USE_LDCONFIG= yes USES= gettext gmake - +USE_GCC= yes DOCSDIR= ${PREFIX}/share/doc/giac PORTDOCS= * DATADIR= ${PREFIX}/share/giac @@ -47,18 +50,28 @@ INFO= giac_es giac_us NO_STAGE= yes + +.include +.if ${OSVERSION} >= 1000000 +CONFIGURE_ARGS+= --disable-ntl +.endif + post-patch: @${GREP} -Rl --null /bin/bash ${COCOALIB-GIAC} | ${XARGS} -0 \ ${REINPLACE_CMD} -e 's|/bin/bash|/usr/bin/env bash|' @${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|' \ ${WRKSRC}/xcas.applications ${WRKSRC}/xcas.desktop +.if ${OSVERSION} >= 1000000 + @${REINPLACE_CMD} -e 's|friend class Fl_Group;|friend class Fl_Group;friend class Fl_X;|' \ + ${FLTKDEV-GIAC}/FL/Fl_Widget.H +.endif pre-configure: cd ${COCOALIB-GIAC} && \ - ./configure --with-libgmp=${LOCALBASE}/lib/libgmp.a && \ + ./configure --with-libgmp=${LOCALBASE}/lib/libgmp.a --with-cxx=${CXX}&& \ ${GMAKE} library && \ cd ${FLTKDEV-GIAC} && \ ./configure --prefix=${FLTKDEV-GIAC} \ && ${MAKE} -.include +.include >Release-Note: >Audit-Trail: >Unformatted: