From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Nov 3 19:10:16 2005 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 6B36B16A420 for ; Thu, 3 Nov 2005 19:10:16 +0000 (GMT) (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 E6AFE43D46 for ; Thu, 3 Nov 2005 19:10:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jA3JAFrx076680 for ; Thu, 3 Nov 2005 19:10:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jA3JAFOS076679; Thu, 3 Nov 2005 19:10:15 GMT (envelope-from gnats) Resent-Date: Thu, 3 Nov 2005 19:10:15 GMT Resent-Message-Id: <200511031910.jA3JAFOS076679@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, Jean Milanez Melo Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52BD016A41F for ; Thu, 3 Nov 2005 19:07:06 +0000 (GMT) (envelope-from jmelo@capeta.freebsdbrasil.com.br) Received: from capeta.freebsdbrasil.com.br (vrrp.freebsdbrasil.com.br [200.210.70.30]) by mx1.FreeBSD.org (Postfix) with SMTP id C3E1A43D45 for ; Thu, 3 Nov 2005 19:07:03 +0000 (GMT) (envelope-from jmelo@capeta.freebsdbrasil.com.br) Received: (qmail 83750 invoked by uid 1003); 3 Nov 2005 17:07:07 -0200 Message-Id: <20051103190707.83749.qmail@capeta.freebsdbrasil.com.br> Date: 3 Nov 2005 17:07:07 -0200 From: Jean Milanez Melo To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/88465: [maintainer update]: cad/slffea fix hardcoded prefix X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jean Milanez Melo List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Nov 2005 19:10:16 -0000 >Number: 88465 >Category: ports >Synopsis: [maintainer update]: cad/slffea fix hardcoded prefix >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 Nov 03 19:10:14 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Jean Milanez Melo >Release: FreeBSD 5.3-STABLE i386 >Organization: >Environment: System: FreeBSD capeta.freebsdbrasil.com.br 5.3-STABLE FreeBSD 5.3-STABLE #5: Wed Mar 2 15:03:19 BRT 2005 eksffa@capeta.freebsdbrasil.com.br:/usr/obj/usr/src/sys/CAPETA i386 >Description: - Fix hardcoded prefix. >How-To-Repeat: >Fix: --- slffea.diff begins here --- diff -ruN slffea.old/Makefile slffea/Makefile --- slffea.old/Makefile Thu Nov 3 16:59:13 2005 +++ slffea/Makefile Thu Nov 3 17:00:25 2005 @@ -8,7 +8,7 @@ PORTNAME= slffea PORTVERSION= 1.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= cad MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -20,7 +20,7 @@ CONFLICTS= swi-pl-[0-9]* TenDRA-[0-9]* USE_REINPLACE= yes -USE_MESA= yes +USE_GL= yes CFLAGS+= -I${X11BASE}/include ${PTHREAD_CFLAGS} WRKSRC= ${WRKDIR}/${PORTNAME}-1.3 ALL_TARGET= everything @@ -44,8 +44,12 @@ post-patch: @(${FIND} ${WRKSRC} -name Makefile | ${XARGS} \ - ${REINPLACE_CMD} -E -e "s,^CC = (.*),CC = ${CC} ${CFLAGS},g ; \ - s,-lglut,-lglut ${PTHREAD_LIBS},g") + ${REINPLACE_CMD} -E -e "s|^CC = .*|CC = ${CC} ${CFLAGS}|g" \ + -e "s|-lglut|-lglut ${PTHREAD_LIBS}|g" \ + -e "s|/usr/local|${LOCALBASE}|g" \ + -e "s|/usr/X/|${X11BASE}/|g" \ + -e "s|/usr/X11/|${X11BASE}/|g" \ + -e "s|/usr/X11R6/|${X11BASE}/|g") do-install: .for file in ${EXEC} --- slffea.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: