From owner-svn-ports-all@FreeBSD.ORG Wed Apr 29 03:20:40 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A62FB82B; Wed, 29 Apr 2015 03:20:40 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 7A84D1E3F; Wed, 29 Apr 2015 03:20:40 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t3T3Ke9f006036; Wed, 29 Apr 2015 03:20:40 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t3T3KeLe006032; Wed, 29 Apr 2015 03:20:40 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201504290320.t3T3KeLe006032@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Wed, 29 Apr 2015 03:20:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r384955 - in head/math/abacus: . files 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.20 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: Wed, 29 Apr 2015 03:20:40 -0000 Author: jbeich Date: Wed Apr 29 03:20:39 2015 New Revision: 384955 URL: https://svnweb.freebsd.org/changeset/ports/384955 Log: math/abacus: drop -fPIC from static library at the cost of buildtime Modified: head/math/abacus/Makefile head/math/abacus/files/patch-Makefile Modified: head/math/abacus/Makefile ============================================================================== --- head/math/abacus/Makefile Wed Apr 29 03:20:25 2015 (r384954) +++ head/math/abacus/Makefile Wed Apr 29 03:20:39 2015 (r384955) @@ -3,7 +3,7 @@ PORTNAME= abacus DISTVERSION= 3.2betaU1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= math MASTER_SITES= http://www.informatik.uni-koeln.de/abacus/ Modified: head/math/abacus/files/patch-Makefile ============================================================================== --- head/math/abacus/files/patch-Makefile Wed Apr 29 03:20:25 2015 (r384954) +++ head/math/abacus/files/patch-Makefile Wed Apr 29 03:20:39 2015 (r384955) @@ -40,13 +40,15 @@ CCFLAG_PARALLEL = # default parallel flags (to be defined in machine specific makefile). -@@ -141,7 +141,8 @@ - DEPEND = $(OBJDIR)/Makefile.dep - - CCFLAGS = $(ABACUS_INCLUDE) $(CCFLAG_SYS) $(CCFLAG_COMPILER) \ -- $(CCFLAG_TEMPLATE) $(CCFLAG_PARALLEL) $(CCFLAG_DEBOPT) -+ $(CCFLAG_TEMPLATE) $(CCFLAG_PARALLEL) $(CCFLAG_DEBOPT) \ -+ -fPIC +@@ -177,6 +177,11 @@ $(OBJDIR)/%.o: $(SRCDIR)/%.cc + $(CCC) $(CCFLAGS) $(ADDFLAGS) -c $< -o $@ + $(STRIP) $@ + ++# the shared object files ++$(OBJDIR)/%.So: $(SRCDIR)/%.cc ++ $(CCC) -fPIC $(CCFLAGS) $(ADDFLAGS) -c $< -o $@ ++ $(STRIP) $@ ++ ####################################################################### # @@ -63,9 +65,9 @@ @$(PRE_ARCHIVE) $(ABACUS_O) $(ARCHIVE) $@ $(ABACUS_O) -+$(LIBDIR)/stuff/abacus-base.so.1: $(ABACUS_O) ++$(LIBDIR)/stuff/abacus-base.so.1: $(ABACUS_O:%.o=%.So) + rm -f $@ -+ $(CXX) -shared -o $@ $(ABACUS_O) ++ $(CXX) -shared -o $@ $(ABACUS_O:%.o=%.So) + # Build the library distribution directory (lib and lib/stuff) -lib-all: subdirs abacus-base lpif interface $(ADDITIONAL_LIB_ALL)