From owner-svn-ports-all@freebsd.org Fri Jan 6 02:41:50 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 4D6DFCA1027; Fri, 6 Jan 2017 02:41:50 +0000 (UTC) (envelope-from junovitch@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 0F91214C8; Fri, 6 Jan 2017 02:41:49 +0000 (UTC) (envelope-from junovitch@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v062fnmv025756; Fri, 6 Jan 2017 02:41:49 GMT (envelope-from junovitch@FreeBSD.org) Received: (from junovitch@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v062fmGQ025752; Fri, 6 Jan 2017 02:41:48 GMT (envelope-from junovitch@FreeBSD.org) Message-Id: <201701060241.v062fmGQ025752@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: junovitch set sender to junovitch@FreeBSD.org using -f From: Jason Unovitch Date: Fri, 6 Jan 2017 02:41:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r430678 - in branches/2016Q4/science/nifticlib: . files X-SVN-Group: ports-branches 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: Fri, 06 Jan 2017 02:41:50 -0000 Author: junovitch Date: Fri Jan 6 02:41:48 2017 New Revision: 430678 URL: https://svnweb.freebsd.org/changeset/ports/430678 Log: MFH: r429778 Pass -fPIC when building the port's static libraries. This makes it possible to use those libraries with shared libraries on at least amd64. While here, set LICENSE and drop MAKE_JOBS_UNSAFE. PR: 209982 Submitted by: Jason Bacon (maintainer) Approved by: ports-secteam (with hat) Modified: branches/2016Q4/science/nifticlib/Makefile branches/2016Q4/science/nifticlib/files/patch-Makefile branches/2016Q4/science/nifticlib/files/patch-examples-Makefile branches/2016Q4/science/nifticlib/files/patch-utils-Makefile Directory Properties: branches/2016Q4/ (props changed) Modified: branches/2016Q4/science/nifticlib/Makefile ============================================================================== --- branches/2016Q4/science/nifticlib/Makefile Fri Jan 6 02:09:15 2017 (r430677) +++ branches/2016Q4/science/nifticlib/Makefile Fri Jan 6 02:41:48 2017 (r430678) @@ -3,13 +3,14 @@ PORTNAME= nifticlib PORTVERSION= 2.0.0 +PORTREVISION= 1 CATEGORIES= science graphics MASTER_SITES= SF/niftilib/nifticlib/nifticlib_2_0_0 MAINTAINER= bacon4000@gmail.com COMMENT= Neuroimaging Informatics Technology Initiative data format -# LICENSE= public domain +LICENSE= PD USES= gmake @@ -17,7 +18,7 @@ USES= gmake # nifti bins by itself. CONFLICTS= afni-[0-9]* dbh-[0-9]* -MAKE_JOBS_UNSAFE= yes +CFLAGS+= -fPIC do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${STAGEDIR}${PREFIX}/bin Modified: branches/2016Q4/science/nifticlib/files/patch-Makefile ============================================================================== --- branches/2016Q4/science/nifticlib/files/patch-Makefile Fri Jan 6 02:09:15 2017 (r430677) +++ branches/2016Q4/science/nifticlib/files/patch-Makefile Fri Jan 6 02:41:48 2017 (r430678) @@ -1,6 +1,6 @@ ---- Makefile.orig 2010-07-20 19:18:58.000000000 +0200 -+++ Makefile 2014-02-20 23:32:52.000000000 +0100 -@@ -17,21 +17,21 @@ +--- Makefile.orig 2010-07-20 17:18:58 UTC ++++ Makefile +@@ -17,21 +17,21 @@ TARFILE_NAME = nifticlib-2.0.0 ## Compiler defines @@ -17,7 +17,7 @@ +AR ?= ar +RANLIB ?= ranlib +DEPENDFLAGS ?= -MM -+GNU_ANSI_FLAGS ?= -Wall -ansi -pedantic ++GNU_ANSI_FLAGS ?= -ansi -pedantic +ANSI_FLAGS += ${GNU_ANSI_FLAGS} +CFLAGS += $(ANSI_FLAGS) @@ -34,7 +34,7 @@ ## Installation -@@ -41,9 +41,9 @@ +@@ -41,9 +41,9 @@ INSTALL_INC_DIR = include ## Zlib defines @@ -47,7 +47,7 @@ ############################################################## # platform specific redefines (to use, set ARCH appropriately) -@@ -116,33 +116,33 @@ +@@ -116,33 +116,33 @@ clean_all: clean regress_clean_all insta znz: echo "arch is $(ARCH)" @@ -87,7 +87,7 @@ @echo Utility programs built. @echo "" -@@ -152,7 +152,7 @@ +@@ -152,7 +152,7 @@ doc: @echo "" regress_data: @@ -96,7 +96,7 @@ @echo "" @echo Regression testing data installed. @echo See Testing/README_regress for details. -@@ -167,25 +167,25 @@ +@@ -167,25 +167,25 @@ $(INSTALL_INC_DIR): $(INSTALL_LIB_DIR): mkdir -p $@ @@ -126,7 +126,7 @@ ($(CP) $(FSLIO)/*.a $(INSTALL_LIB_DIR); $(CP) $(FSLIO)/*.h $(INSTALL_INC_DIR);) $(RANLIB) $(INSTALL_LIB_DIR)/*.a @echo " $(FSLIO) installed." -@@ -212,19 +212,19 @@ +@@ -212,19 +212,19 @@ fslio_clean: (cd $(FSLIO); $(RM) -f *.o *.a core; $(RM) -f depend.mk;) examples_clean: Modified: branches/2016Q4/science/nifticlib/files/patch-examples-Makefile ============================================================================== --- branches/2016Q4/science/nifticlib/files/patch-examples-Makefile Fri Jan 6 02:09:15 2017 (r430677) +++ branches/2016Q4/science/nifticlib/files/patch-examples-Makefile Fri Jan 6 02:41:48 2017 (r430678) @@ -1,5 +1,5 @@ ---- examples/Makefile.orig 2013-10-29 15:56:43.000000000 -0500 -+++ examples/Makefile 2013-10-29 15:56:48.000000000 -0500 +--- examples/Makefile.orig 2009-04-14 14:47:16 UTC ++++ examples/Makefile @@ -1,4 +1,4 @@ -CC = gcc +CC ?= gcc Modified: branches/2016Q4/science/nifticlib/files/patch-utils-Makefile ============================================================================== --- branches/2016Q4/science/nifticlib/files/patch-utils-Makefile Fri Jan 6 02:09:15 2017 (r430677) +++ branches/2016Q4/science/nifticlib/files/patch-utils-Makefile Fri Jan 6 02:41:48 2017 (r430678) @@ -1,5 +1,5 @@ ---- utils/Makefile.orig 2007-05-17 15:18:44.000000000 -0500 -+++ utils/Makefile 2013-10-29 15:55:12.000000000 -0500 +--- utils/Makefile.orig 2007-05-17 20:18:44 UTC ++++ utils/Makefile @@ -1,5 +1,5 @@ -CC = gcc -CFLAGS = -ansi -pedantic