From owner-svn-ports-all@freebsd.org Tue Feb 14 10:57:12 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AB4B1CDFD60; Tue, 14 Feb 2017 10:57:12 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 785811CFC; Tue, 14 Feb 2017 10:57:12 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v1EAvBrb090835; Tue, 14 Feb 2017 10:57:11 GMT (envelope-from tijl@FreeBSD.org) Received: (from tijl@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v1EAvBtt090834; Tue, 14 Feb 2017 10:57:11 GMT (envelope-from tijl@FreeBSD.org) Message-Id: <201702141057.v1EAvBtt090834@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tijl set sender to tijl@FreeBSD.org using -f From: Tijl Coosemans Date: Tue, 14 Feb 2017 10:57:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r434076 - head/comms/libfec X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Feb 2017 10:57:12 -0000 Author: tijl Date: Tue Feb 14 10:57:11 2017 New Revision: 434076 URL: https://svnweb.freebsd.org/changeset/ports/434076 Log: Use -fPIC for all architectures because the makefile tries to create a shared library libfec.so from object files compiled without -fPIC. Modified: head/comms/libfec/Makefile Modified: head/comms/libfec/Makefile ============================================================================== --- head/comms/libfec/Makefile Tue Feb 14 10:52:20 2017 (r434075) +++ head/comms/libfec/Makefile Tue Feb 14 10:57:11 2017 (r434076) @@ -3,7 +3,7 @@ PORTNAME= libfec PORTVERSION= 3.0.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= comms astro hamradio math MASTER_SITES= http://www.ka9q.net/code/fec/ \ LOCAL/db @@ -26,8 +26,8 @@ PLIST_FILES= include/fec.h \ man/man3/rs.3.gz \ man/man3/simd-viterbi.3.gz -CFLAGS_aarch64= -fPIC -CFLAGS_amd64= -fPIC +# makefile tries to create libfec.so from object files compiled without -fPIC. +CFLAGS+= -fPIC post-patch: @${CP} ${FILESDIR}/cpu_mode.c ${WRKSRC}