From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Oct 17 16:30:21 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D45A110656A3 for ; Sun, 17 Oct 2010 16:30:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 95C8B8FC27 for ; Sun, 17 Oct 2010 16:30:21 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o9HGULPi037875 for ; Sun, 17 Oct 2010 16:30:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o9HGULhN037867; Sun, 17 Oct 2010 16:30:21 GMT (envelope-from gnats) Resent-Date: Sun, 17 Oct 2010 16:30:21 GMT Resent-Message-Id: <201010171630.o9HGULhN037867@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, Max Brazhnikov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6ECE106564A for ; Sun, 17 Oct 2010 16:28:57 +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 D55E28FC08 for ; Sun, 17 Oct 2010 16:28:57 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o9HGSvCG025537 for ; Sun, 17 Oct 2010 16:28:57 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o9HGSv6v025536; Sun, 17 Oct 2010 16:28:57 GMT (envelope-from nobody) Message-Id: <201010171628.o9HGSv6v025536@www.freebsd.org> Date: Sun, 17 Oct 2010 16:28:57 GMT From: Max Brazhnikov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/151518: math/scilab: fix build without GUI X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Oct 2010 16:30:21 -0000 >Number: 151518 >Category: ports >Synopsis: math/scilab: fix build without GUI >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Oct 17 16:30:20 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Max Brazhnikov >Release: FreeBSD 8.1-STABLE amd64 >Organization: >Environment: FreeBSD luna.dio.ru 8.1-STABLE FreeBSD 8.1-STABLE #10: Tue Aug 31 10:36:57 MSD 2010 root@luna.dio.ru:/usr/obj/usr/freebsd/8/src/sys/LUNA amd64 >Description: Fix build when WITHOUT_GUI is chosen. >How-To-Repeat: >Fix: Patch attached with submission follows: Index: Makefile =================================================================== RCS file: /home/pcvs/ports/math/scilab/Makefile,v retrieving revision 1.71 diff -u -r1.71 Makefile --- Makefile 17 Sep 2010 20:06:49 -0000 1.71 +++ Makefile 17 Oct 2010 15:16:45 -0000 @@ -216,8 +216,10 @@ ${REINPLACE_CMD} -e 's|$$jardir/fop.jar|${LOCALBASE}/share/java/fop/build/fop.jar|' ${WRKSRC}/configure ${REINPLACE_CMD} -e 's|$$jardir/jeuclid-core*.jar|${LOCALBASE}/share/java/jeuclid/repo/jeuclid-core*.jar|' ${WRKSRC}/configure ${MKDIR} ${WRKSRC}/thirdparty +.if !defined(WITHOUT_GUI) ${CP} ${DISTDIR}/${JGRAPHX_JAR} ${WRKSRC}/thirdparty/jgraphx.jar ${REINPLACE_CMD} -e 's|@JGRAPHX@|${DATADIR}/modules/jgraphx.jar|g' ${WRKSRC}/etc/classpath.xml.in +.endif # Build fixes ${REINPLACE_CMD} -e 's|$$(CFLAGS:-O%=)|-I${LOCALBASE}/include -L${LOCALBASE}/lib|' ${WRKSRC}/modules/elementary_functions/Makefile.in ${REINPLACE_CMD} -e 's|freebsd|__FreeBSD__|g' ${WRKSRC}/modules/sparse/includes/spConfig.h @@ -245,6 +247,8 @@ @${FIND} ${WRKSRC} -name \*.orig -delete @${FIND} ${WRKSRC} -name \*.bak -delete @${FIND} ${WRKSRC} -name .cvsignore -delete +.if !defined(WITHOUT_GUI) @${MKDIR} ${DATADIR}/modules && ${INSTALL_DATA} ${DISTDIR}/${JGRAPHX_JAR} ${DATADIR}/modules/jgraphx.jar +.endif .include >Release-Note: >Audit-Trail: >Unformatted: