Date: 3 Nov 2005 17:07:07 -0200 From: Jean Milanez Melo <jmelo@freebsdbrasil.com.br> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/88465: [maintainer update]: cad/slffea fix hardcoded prefix Message-ID: <20051103190707.83749.qmail@capeta.freebsdbrasil.com.br> Resent-Message-ID: <200511031910.jA3JAFOS076679@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051103190707.83749.qmail>