From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Dec 22 23:00:23 2011 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 531381065673 for ; Thu, 22 Dec 2011 23:00:23 +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 1C3A78FC13 for ; Thu, 22 Dec 2011 23:00:23 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pBMN0MiL084721 for ; Thu, 22 Dec 2011 23:00:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pBMN0Msm084720; Thu, 22 Dec 2011 23:00:22 GMT (envelope-from gnats) Resent-Date: Thu, 22 Dec 2011 23:00:22 GMT Resent-Message-Id: <201112222300.pBMN0Msm084720@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, Michael Scheidell Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3683A106564A; Thu, 22 Dec 2011 22:58:51 +0000 (UTC) (envelope-from scheidell@secnap.net) Received: from mx1.secnap.com.ionspam.net (mx1.secnap.com.ionspam.net [204.89.241.253]) by mx1.freebsd.org (Postfix) with ESMTP id 07BC18FC13; Thu, 22 Dec 2011 22:58:50 +0000 (UTC) Received: from mx1.secnap.com.ionspam.net (mx1.secnap.com.ionspam.net [10.70.1.253]) by mx1.secnap.com.ionspam.net (Postfix) with ESMTP id 81047621C46; Thu, 22 Dec 2011 17:58:50 -0500 (EST) Received: from scanner.secnap.net (unknown [10.70.1.4]) by mx1.secnap.com.ionspam.net (Postfix) with ESMTP id E747B621C05; Thu, 22 Dec 2011 17:58:49 -0500 (EST) Received: by scanner.secnap.net (Postfix, from userid 1001) id E07431D3C6; Thu, 22 Dec 2011 17:58:49 -0500 (EST) Message-Id: <20111222225849.E07431D3C6@scanner.secnap.net> Date: Thu, 22 Dec 2011 17:58:49 -0500 (EST) From: Michael Scheidell To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: gabor@FreeBSD.org Subject: ports/163548: [UPDATE] ftp/vsftpd-ext will not compile on non i386 arch 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: Thu, 22 Dec 2011 23:00:23 -0000 >Number: 163548 >Category: ports >Synopsis: [UPDATE] ftp/vsftpd-ext will not compile on non i386 arch >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Dec 22 23:00:22 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Michael Scheidell >Release: FreeBSD 7.3-RELEASE-p3 amd64 >Organization: SECNAP Network Security Corp >Environment: anything but i386. >Description: makefile cflags need to be environment, not hard coded. ===> Building for vsftpd-ext-2.3.4.2 > gcc -c main.c -O2 -fno-strict-aliasing -pipe -O2 -pipe -march=prescott -fno-strict-aliasing -O2 -Wall -W -Wshadow -idirafter dummyinc > main.c:1: error: CPU you selected does not support x86-64 instruction set > main.c:1: error: CPU you selected does not support x86-64 instruction set > *** Error code 1 > >How-To-Repeat: try to compile on a non 9386 arch >Fix: This patch will eliminate the change to cflags. (note: CFLAGS in /etc/make.conf(default) are automatically applied) Index: files/patch-Makefile =================================================================== RCS file: /home/pcvs/ports/ftp/vsftpd-ext/files/patch-Makefile,v retrieving revision 1.1 diff -u -u -r1.1 patch-Makefile --- files/patch-Makefile 21 Dec 2011 13:19:37 -0000 1.1 +++ files/patch-Makefile 22 Dec 2011 22:54:01 -0000 @@ -1,14 +1,11 @@ ---- ./Makefile.orig 2011-12-13 10:14:07.000000000 +0200 -+++ ./Makefile 2011-12-13 10:15:30.000000000 +0200 -@@ -3,9 +3,9 @@ - INSTALL = install - IFLAGS = -idirafter dummyinc +--- Makefile.orig 2011-07-03 17:03:07.000000000 -0400 ++++ Makefile 2011-12-22 17:51:53.000000000 -0500 +@@ -5,7 +5,7 @@ #CFLAGS = -g --CFLAGS = -O2 -Wall -W -Wshadow #-pedantic -Werror -Wconversion -+CFLAGS = -O2 -pipe -march=prescott -fno-strict-aliasing -O2 -Wall -W -Wshadow #-pedantic -Werror -Wconversion + CFLAGS = -O2 -Wall -W -Wshadow #-pedantic -Werror -Wconversion -LIBS = -lcap -ldl -lcrypt -lpam -lwrap -lnsl -lssl -lcrypto -+LIBS= -lpam ++LIBS = -lpam # | | + VSF_BUILD_SSL # | + VSF_BUILD_TCPWRAPPERS # + VSF_BUILD_PAM ______________________________________________________________________ This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.spammertrap.com/ ______________________________________________________________________ >Release-Note: >Audit-Trail: >Unformatted: