From owner-svn-ports-head@freebsd.org Tue Feb 14 12:09:04 2017 Return-Path: Delivered-To: svn-ports-head@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 8400FCDFD95; Tue, 14 Feb 2017 12:09:04 +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 39A87190B; Tue, 14 Feb 2017 12:09:04 +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 v1EC93dS019964; Tue, 14 Feb 2017 12:09:03 GMT (envelope-from tijl@FreeBSD.org) Received: (from tijl@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v1EC93J1019962; Tue, 14 Feb 2017 12:09:03 GMT (envelope-from tijl@FreeBSD.org) Message-Id: <201702141209.v1EC93J1019962@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 12:09:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r434080 - in head/devel/dcmtk: . 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-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Feb 2017 12:09:04 -0000 Author: tijl Date: Tue Feb 14 12:09:02 2017 New Revision: 434080 URL: https://svnweb.freebsd.org/changeset/ports/434080 Log: Remove -fPIC and instead prevent linking a static library into a shared library. Modified: head/devel/dcmtk/Makefile head/devel/dcmtk/files/patch-BuildLibrary Modified: head/devel/dcmtk/Makefile ============================================================================== --- head/devel/dcmtk/Makefile Tue Feb 14 11:12:28 2017 (r434079) +++ head/devel/dcmtk/Makefile Tue Feb 14 12:09:02 2017 (r434080) @@ -3,7 +3,7 @@ PORTNAME= dcmtk DISTVERSION= 3.6.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= devel MASTER_SITES= ftp://dicom.offis.de/pub/dicom/offis/software/${PORTNAME}/${PORTNAME}${PORTVERSION:S/.//g}/ @@ -29,9 +29,6 @@ PLIST_SUB= SHLIBVER=${SHLIBVER} PORTDOCS= * -CFLAGS_aarch64= -fPIC -CFLAGS_amd64= -fPIC - OPTIONS_DEFINE= DOCS post-patch: Modified: head/devel/dcmtk/files/patch-BuildLibrary ============================================================================== --- head/devel/dcmtk/files/patch-BuildLibrary Tue Feb 14 11:12:28 2017 (r434079) +++ head/devel/dcmtk/files/patch-BuildLibrary Tue Feb 14 12:09:02 2017 (r434080) @@ -44,17 +44,15 @@ +BUILD_LIBRARY(dcmdata ${SOURCES}) --- dcmpstat/libsrc/CMakeLists.txt.orig 2005-09-15 08:17:54.000000000 +0000 +++ dcmpstat/libsrc/CMakeLists.txt 2011-01-12 14:00:57.000000000 +0000 -@@ -1,5 +1,6 @@ +@@ -1,5 +1,3 @@ -# create library from source files -ADD_LIBRARY(dcmpstat dcmpstat dviface dvpsab dvpsabl dvpsal dvpsall dvpscf dvpscu dvpscul dvpsda dvpsdal dvpsfs dvpsga dvpsgal dvpsgl dvpsgll dvpsgr dvpsgrl dvpshlp dvpsib dvpsibl dvpsmsg dvpsov dvpsovl dvpspl dvpspl2 dvpspll dvpspr dvpsprt dvpsri dvpsril dvpsrs dvpsrsl dvpssp dvpsspl dvpssv dvpssvl dvpstat dvpstx dvpstxl dvpsvl dvpsvll dvpsvw dvpsvwl dvsighdl) +- +-# declare installation files +-INSTALL_TARGETS(${INSTALL_LIBDIR} dcmpstat) +# invoke macro to build and declare installation files +SET(SOURCES dcmpstat dviface dvpsab dvpsabl dvpsal dvpsall dvpscf dvpscu dvpscul dvpsda dvpsdal dvpsfs dvpsga dvpsgal dvpsgl dvpsgll dvpsgr dvpsgrl dvpshlp dvpsib dvpsibl dvpsmsg dvpsov dvpsovl dvpspl dvpspl2 dvpspll dvpspr dvpsprt dvpsri dvpsril dvpsrs dvpsrsl dvpssp dvpsspl dvpssv dvpssvl dvpstat dvpstx dvpstxl dvpsvl dvpsvll dvpsvw dvpsvwl dvsighdl) +BUILD_LIBRARY(dcmpstat ${SOURCES}) - --# declare installation files --INSTALL_TARGETS(${INSTALL_LIBDIR} dcmpstat) -+TARGET_LINK_LIBRARIES(dcmpstatShared dcmsr) -+TARGET_LINK_LIBRARIES(dcmpstat dcmsr) --- oflog/libsrc/CMakeLists.txt.orig 2010-12-08 13:19:02.000000000 +0000 +++ oflog/libsrc/CMakeLists.txt 2011-01-12 14:00:57.000000000 +0000 @@ -1,4 +1,4 @@