Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Oct 2005 14:31:16 +0300
From:      Vasil Dimov <vd@datamax.bg>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/87838: Properly mark unsupported architectures for lang/pm3-base
Message-ID:  <20051022113116.GA47761@qlovarnika.bg.datamax>
Resent-Message-ID: <200510221140.j9MBeFxO021596@freefall.freebsd.org>

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

>Number:         87838
>Category:       ports
>Synopsis:       Properly mark unsupported architectures for lang/pm3-base
>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 Oct 22 11:40:15 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Vasil Dimov
>Release:        FreeBSD 6.0-RC1 amd64
>Organization:
DataMax
>Environment:

>Description:

Do not fail with error in pre-fetch target on unsupported architectures.

Reported by Kris

>How-To-Repeat:

>Fix:

--- pm3-base_ignore.diff begins here ---
diff -urN --exclude=CVS --exclude=README.html pm3-base.orig/Makefile pm3-base/Makefile
--- pm3-base.orig/Makefile	Sat Oct 22 13:41:26 2005
+++ pm3-base/Makefile	Sat Oct 22 13:40:54 2005
@@ -69,17 +69,13 @@
 TARGETDIR=	fbsd-alpha
 WORDSIZE=	64
 BOOTSTRAP=	pm3-${PORTVERSION}-${TARGET}-boot.tar.bz2
+.else
+IGNORE=		Not supported on ${ARCH}
 .endif
 
 EXTRA_PATCHES!= echo ${PATCHDIR}/${TARGET}-patch-*
 .if ${EXTRA_PATCHES} == ${PATCHDIR}/${TARGET}-patch-*
 .undef EXTRA_PATCHES
-.endif
-
-.if !defined(TARGET)
-pre-fetch:
-	@${ECHO_MSG} "Cannot determine M3 target for this architecture"
-	@${FALSE}
 .endif
 
 post-patch:
--- pm3-base_ignore.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?20051022113116.GA47761>