ports/89560: [PATCH] www/linux-opera: [Add support for amd64]

Mark Daniel Reidel ports at mark.reidel.info
Sat Nov 26 00:20:08 UTC 2005


>Number:         89560
>Category:       ports
>Synopsis:       [PATCH] www/linux-opera: [Add support for amd64]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 26 00:20:06 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Mark Daniel Reidel
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD raffi.reidel.info 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Sat Nov  5 13:05:19 CET
>Description:
Modify install.sh so it recognizes amd64 as supported system and installs.
linux-opera runs flawlessly on amd64 linux32-emulation.

Port maintainer (mezz at FreeBSD.org) is cc'd.
>How-To-Repeat:
>Fix:

--- linux-opera-8.51.20051114.patch begins here ---
diff -ruN --exclude=CVS /var/tmp/portbackup/www/linux-opera/Makefile /usr/ports/www/linux-opera/Makefile
--- /usr/ports/www/linux-opera/Makefile	Sat Nov 26 01:11:21 2005
+++ /usr/ports/www/linux-opera/Makefile	Sat Nov 26 01:10:54 2005
@@ -35,7 +35,7 @@
 USE_LINUX=	yes
 USE_REINPLACE=	yes
 USE_X_PREFIX=	yes
-ONLY_FOR_ARCHS=	i386
+ONLY_FOR_ARCHS=	i386 amd64
 
 NO_BUILD=	yes
 
@@ -65,6 +65,7 @@
 			${WRKSRC}/ini/spellcheck.ini ${WRKSRC}/config/opera6rc
 	@${FIND} ${WRKSRC} -name '*.orig' -delete
 	@${FIND} ${WRKSRC} -name '*.bak' -delete
+	@${REINPLACE_CMD} -e 's/i\[3456\]86:FreeBSD/amd64:FreeBSD|i\[3456\]86:FreeBSD/g' ${WRKSRC}/install.sh
 
 do-install:
 	@(cd ${WRKSRC} && ./install.sh \
--- linux-opera-8.51.20051114.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list