pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

slicot: also build a dynamic library.



Module Name:	pkgsrc-wip
Committed By:	coypu <coypu%sdf.org@localhost>
Pushed By:	coypu
Date:		Sun Aug 12 17:45:46 2018 +0300
Changeset:	73f4683ae41ca2c74068a1a6f299c89ee3f37a3d

Modified Files:
	slicot/Makefile
Added Files:
	slicot/files/shlib_version

Log Message:
slicot: also build a dynamic library.

USE_LANGUAGES=c for gcc-as-linker

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=73f4683ae41ca2c74068a1a6f299c89ee3f37a3d

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 slicot/Makefile            | 4 +++-
 slicot/files/shlib_version | 2 ++
 2 files changed, 5 insertions(+), 1 deletion(-)

diffs:
diff --git a/slicot/Makefile b/slicot/Makefile
index 95decbd96c..c6ae6cdf08 100644
--- a/slicot/Makefile
+++ b/slicot/Makefile
@@ -11,13 +11,15 @@ COMMENT=	numerical algorithms from systems and control theory
 LICENSE=	gnu-gpl-v2
 
 WRKSRC=		${WRKDIR}/${PKGNAME}/src
-USE_LANGUAGES=	fortran
+USE_LANGUAGES=	fortran c
 USE_TOOLS+=	mkstemp
 
 INSTALLATION_DIRS+=	lib
 
 pre-build:
 	cp ${FILESDIR}/Makefile ${WRKSRC}/Makefile
+	cp ${FILESDIR}/shlib_version ${WRKSRC}/shlib_version
+
 
 .include "../../math/lapack/buildlink3.mk"
 .include "../../math/blas/buildlink3.mk"
diff --git a/slicot/files/shlib_version b/slicot/files/shlib_version
new file mode 100644
index 0000000000..97c9f92d6b
--- /dev/null
+++ b/slicot/files/shlib_version
@@ -0,0 +1,2 @@
+major=0
+minor=0


Home | Main Index | Thread Index | Old Index