Date: Tue, 7 Apr 2020 09:26:41 +0000 (UTC) From: Thierry Thomas <thierry@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r530956 - in head/math/lcalc: . files Message-ID: <202004070926.0379Qf0i081027@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004070926.0379Qf0i081027>