From owner-freebsd-ports-bugs@FreeBSD.ORG Fri May 26 08:50:10 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 412B116A55B for ; Fri, 26 May 2006 08:50:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7142243D58 for ; Fri, 26 May 2006 08:50:09 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k4Q8o9Yb031889 for ; Fri, 26 May 2006 08:50:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k4Q8o9fT031888; Fri, 26 May 2006 08:50:09 GMT (envelope-from gnats) Resent-Date: Fri, 26 May 2006 08:50:09 GMT Resent-Message-Id: <200605260850.k4Q8o9fT031888@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, nivit@email.it (Nicola Vitale) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 132A316A45F for ; Fri, 26 May 2006 08:49:10 +0000 (UTC) (envelope-from nivit@email.it) Received: from vsmtp2.tin.it (vsmtp2.tin.it [212.216.176.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D9FB43D68 for ; Fri, 26 May 2006 08:49:05 +0000 (GMT) (envelope-from nivit@email.it) Received: from arancino (87.0.142.190) by vsmtp2.tin.it (7.2.072.1) id 4476ADF30000DFC9 for FreeBSD-gnats-submit@freebsd.org; Fri, 26 May 2006 10:50:44 +0200 Received: (qmail 24268 invoked by uid 0); 26 May 2006 08:42:56 -0000 Message-Id: <20060526084256.24267.qmail@arancino> Date: 26 May 2006 08:42:56 -0000 From: nivit@email.it (Nicola Vitale) To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/97952: [MAINTAINER] www/mimetex: add WITH_STATIC knob 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: Fri, 26 May 2006 08:50:14 -0000 >Number: 97952 >Category: ports >Synopsis: [MAINTAINER] www/mimetex: add WITH_STATIC knob >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 May 26 08:50:09 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Nicola Vitale >Release: FreeBSD 6.1-STABLE i386 >Organization: >Environment: System: FreeBSD arancino.domo.sva 6.1-STABLE FreeBSD 6.1-STABLE #6: Mon May 22 12:53:00 CEST 2006 >Description: - Add WITH_STATIC knob (see http://www.forkosh.dreamhost.com/phpBB2/viewtopic.php?t=68&sid=c688319aa722108ced6ee1076c1081a2 ) Generated with FreeBSD Port Tools 0.75 >How-To-Repeat: >Fix: --- mimetex-1.60_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/www/mimetex/Makefile /usr/ports/www/mimetex.with_static/Makefile --- /usr/ports/www/mimetex/Makefile Thu May 11 23:20:22 2006 +++ /usr/ports/www/mimetex.with_static/Makefile Fri May 26 10:34:11 2006 @@ -28,9 +28,14 @@ CGI_PRG= ${PORTNAME}.cgi WWW_DIR= ${PREFIX}/www/data/mimetex/ +# usefull if you run mimetex on another machine +.if defined(WITH_STATIC) +STATIC_MIMETEX= -static +.endif + do-build: cd ${WRKDIR};\ - ${CC} ${CFLAGS} -DAA mimetex.c gifsave.c -lm -o ${CGI_PRG} + ${CC} ${CFLAGS} ${STATIC_MIMETEX} -DAA mimetex.c gifsave.c -lm -o ${CGI_PRG} do-install: ${MKDIR} ${CGI_BIN} --- mimetex-1.60_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: