Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2008 02:47:04 +0100 (CET)
From:      Martin Tournoij <carpetsmoker@xs4all.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/120867: [maintainer] emulators/catapult - Fix build on amd64
Message-ID:  <200802200147.m1K1l4RJ019897@phong.rwxrwxrwx.net>
Resent-Message-ID: <200802200150.m1K1o5si054303@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         120867
>Category:       ports
>Synopsis:       [maintainer] emulators/catapult - Fix build on amd64
>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:   Wed Feb 20 01:50:05 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Martin Tournoij
>Release:        FreeBSD 7.0-BETA3 i386
>Organization:
>Environment:
FreeBSD phong.rwxrwxrwx.net 7.0-BETA3 FreeBSD 7.0-BETA3 #0: Mon Nov 19 15:02:36 UTC 2007 carpetsmoker@slash.rwxrwxrwx.net:/mnt/ad0s1a/usr/obj/mnt/ad0s1a/usr/src/sys/PHONG i386
>Description:
Fix build on amd64

>How-To-Repeat:

>Fix:

--- catapult.patch begins here ---
--- emulators/catapult/Makefile.orig    2008-02-17 03:08:30.000000000 +0100
+++ emulators/catapult/Makefile 2008-02-20 02:45:26.000000000 +0100
@@ -8,6 +8,7 @@
 
 PORTNAME=      catapult
 PORTVERSION=   0.6.3R1
+PORTREVISION=  1
 CATEGORIES=    emulators
 MASTER_SITES=  SF
 MASTER_SITE_SUBDIR=    openmsx
@@ -30,7 +31,8 @@
 USE_GNOME=     libxml2
 
 post-patch:
-       @${REINPLACE_CMD} 's|freebsd5\*|freebsd*|' ${WRKSRC}/build/detectsys.sh
+       @${REINPLACE_CMD} 's|freebsd5\*|freebsd*|; s|x86_64)|amd64)|;' \
+               ${WRKSRC}/build/detectsys.sh
        @${REINPLACE_CMD} 's|@$$(CXX)|$$(CXX)|' ${WRKSRC}/build/main.mk
        @${REINPLACE_CMD} 's|INSTALL_BASE|INSTALL_SHARE_DIR|' ${WRKSRC}/build/info2code.mk
        @${REINPLACE_CMD} 's|wx-config|${WX_CONFIG}|g' \
--- catapult.patch ends here ---

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802200147.m1K1l4RJ019897>