From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Dec 17 14:30:12 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9B1D106566B for ; Fri, 17 Dec 2010 14:30:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8ABF48FC12 for ; Fri, 17 Dec 2010 14:30:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oBHEUCSE092571 for ; Fri, 17 Dec 2010 14:30:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oBHEUC1u092568; Fri, 17 Dec 2010 14:30:12 GMT (envelope-from gnats) Resent-Date: Fri, 17 Dec 2010 14:30:12 GMT Resent-Message-Id: <201012171430.oBHEUC1u092568@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, Aldis Berjoza Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 616AC106564A for ; Fri, 17 Dec 2010 14:26:49 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (unknown [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 500AA8FC1A for ; Fri, 17 Dec 2010 14:26:49 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id oBHEQmU1064666 for ; Fri, 17 Dec 2010 14:26:48 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id oBHEQmJ3064665; Fri, 17 Dec 2010 14:26:48 GMT (envelope-from nobody) Message-Id: <201012171426.oBHEQmJ3064665@red.freebsd.org> Date: Fri, 17 Dec 2010 14:26:48 GMT From: Aldis Berjoza To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/153248: [PATCH] lang/fasm unbreak on amd64 and ia64 after last commit X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Dec 2010 14:30:12 -0000 >Number: 153248 >Category: ports >Synopsis: [PATCH] lang/fasm unbreak on amd64 and ia64 after last commit >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Dec 17 14:30:11 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Aldis Berjoza >Release: >Organization: >Environment: FreeBSD desktop.pc 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: After update to v1.17 of Makefile I couldn't build fasm on my amd64 box. I couldn't figure out why exactly it didn't work, because I do have /usr/lib32 Anyway I looked at bsd.port.mk and saw IA32_BINARY_PORT variable, so I modified port to use this variable and now it builds on amd64 again. This also simplified Makefile a little :) >How-To-Repeat: >Fix: Patch attached with submission follows: diff -u fasm.bak/Makefile fasm/Makefile --- fasm.bak/Makefile 2010-12-17 15:56:39.857949624 +0200 +++ fasm/Makefile 2010-12-17 16:21:33.546591171 +0200 @@ -7,6 +7,7 @@ PORTNAME= fasm PORTVERSION= 1.69.29 +PORTREVISION= 1 CATEGORIES= lang devel MASTER_SITES= http://flatassembler.net/ @@ -14,17 +15,14 @@ COMMENT= Flat, multiple-pass assembler for IA-32 & x86-64 architectures ONLY_FOR_ARCHS= i386 amd64 ia64 +IA32_BINARY_PORT=YES WRKSRC= ${WRKDIR}/${PORTNAME} .include .if ${ARCH} != "i386" -.if defined(HAVE_COMPAT_IA32_LIBS) CFLAGS= -m32 -L/usr/lib32 -B/usr/lib32 -.else -IGNORE= requires 32-bit libraries installed under /usr/lib32 -.endif .endif do-build: >Release-Note: >Audit-Trail: >Unformatted: