From owner-svn-ports-all@freebsd.org Tue Apr 7 09:26:42 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5A9582B03CC; Tue, 7 Apr 2020 09:26:42 +0000 (UTC) (envelope-from thierry@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48xMVV0vdDz4Lpv; Tue, 7 Apr 2020 09:26:42 +0000 (UTC) (envelope-from thierry@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1A5257711; Tue, 7 Apr 2020 09:26:42 +0000 (UTC) (envelope-from thierry@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0379QfbH081030; Tue, 7 Apr 2020 09:26:41 GMT (envelope-from thierry@FreeBSD.org) Received: (from thierry@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0379Qf0i081027; Tue, 7 Apr 2020 09:26:41 GMT (envelope-from thierry@FreeBSD.org) Message-Id: <202004070926.0379Qf0i081027@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: thierry set sender to thierry@FreeBSD.org using -f From: Thierry Thomas Date: Tue, 7 Apr 2020 09:26:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r530956 - in head/math/lcalc: . files X-SVN-Group: ports-head X-SVN-Commit-Author: thierry X-SVN-Commit-Paths: in head/math/lcalc: . files X-SVN-Commit-Revision: 530956 X-SVN-Commit-Repository: ports 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.29 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, 07 Apr 2020 09:26:42 -0000 Author: thierry Date: Tue Apr 7 09:26:41 2020 New Revision: 530956 URL: https://svnweb.freebsd.org/changeset/ports/530956 Log: - A dd a SONAME to libLfunction.so; - strip lcalc. Modified: head/math/lcalc/Makefile head/math/lcalc/files/patch-src_Makefile head/math/lcalc/pkg-plist Modified: head/math/lcalc/Makefile ============================================================================== --- head/math/lcalc/Makefile Tue Apr 7 09:16:52 2020 (r530955) +++ head/math/lcalc/Makefile Tue Apr 7 09:26:41 2020 (r530956) @@ -3,6 +3,7 @@ PORTNAME= lcalc PORTVERSION= 1.23 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= ftp://ftp.fu-berlin.de/unix/misc/sage/spkg/upstream/lcalc/ @@ -27,5 +28,10 @@ WRKSRC_SUBDIR= src USE_LDCONFIG= yes MAKE_ENV= MAKE=${GMAKE} STAGEDIR=${STAGEDIR} + +post-stage: + cd ${STAGEDIR}${PREFIX}/lib && ${MV} libLfunction.so libLfunction.so.0 + ${LN} -sf libLfunction.so.0 ${STAGEDIR}${PREFIX}/lib/libLfunction.so + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include Modified: head/math/lcalc/files/patch-src_Makefile ============================================================================== --- head/math/lcalc/files/patch-src_Makefile Tue Apr 7 09:16:52 2020 (r530955) +++ head/math/lcalc/files/patch-src_Makefile Tue Apr 7 09:26:41 2020 (r530956) @@ -215,7 +215,7 @@ -libLfunction.so: $(OBJ_L) - g++ -$(DYN_OPTION) -o libLfunction.so $(OBJ_L) +libLfunction$(LIBEXT): $(OBJ_L) -+ $(CXX) -$(DYN_OPTION) $(CXXFLAGS) -o libLfunction$(LIBEXT) $(LDFLAGS) $(OBJ_L) $(PARI_LIBS) ++ $(CXX) -$(DYN_OPTION) $(CXXFLAGS) -o libLfunction$(LIBEXT) $(LDFLAGS) -Wl,-soname,$@ $(OBJ_L) $(PARI_LIBS) clean: - rm -f *.o lcalc libLfunction.so example_programs/example Modified: head/math/lcalc/pkg-plist ============================================================================== --- head/math/lcalc/pkg-plist Tue Apr 7 09:16:52 2020 (r530955) +++ head/math/lcalc/pkg-plist Tue Apr 7 09:26:41 2020 (r530956) @@ -43,3 +43,4 @@ include/Lfunction/cmdline.h include/Lfunction/getopt.h include/Lfunction/mpfr_mul_d.h lib/libLfunction.so +lib/libLfunction.so.0