mirror of https://git.FreeBSD.org/ports.git
math/bliss: Produce shared library instead of the static one
This commit is contained in:
parent
e9f5d21bf0
commit
1ddc718e0c
|
@ -1,5 +1,6 @@
|
|||
PORTNAME= bliss
|
||||
DISTVERSION= 0.73
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= http://www.tcs.hut.fi/Software/bliss/
|
||||
PKGNAMESUFFIX= -graph-tool
|
||||
|
@ -17,7 +18,7 @@ MAKE_ARGS= CC=${CXX}
|
|||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKSRC}/libbliss.a ${STAGEDIR}${PREFIX}/lib
|
||||
${INSTALL_LIB} ${WRKSRC}/libbliss.so ${STAGEDIR}${PREFIX}/lib
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME}
|
||||
${CP} ${WRKSRC}/*.hh ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/${PORTNAME}
|
||||
|
||||
|
|
|
@ -13,3 +13,22 @@
|
|||
#CFLAGS += -DBLISS_DEBUG
|
||||
CFLAGS += -fPIC
|
||||
|
||||
@@ -20,7 +20,7 @@ AR = ar
|
||||
CC = g++
|
||||
RANLIB = ranlib
|
||||
AR = ar
|
||||
-BLISSLIB = libbliss.a
|
||||
+BLISSLIB = libbliss.so
|
||||
|
||||
gmp: LIB += -lgmp
|
||||
gmp: CFLAGS += -DBLISS_USE_GMP
|
||||
@@ -36,8 +36,7 @@ lib: $(OBJS)
|
||||
|
||||
lib: $(OBJS)
|
||||
rm -f $(BLISSLIB)
|
||||
- $(AR) cr $(BLISSLIB) $(OBJS)
|
||||
- $(RANLIB) $(BLISSLIB)
|
||||
+ $(CC) -shared $(LDFLAGS) -o $(BLISSLIB) $(OBJS)
|
||||
|
||||
lib_gmp: $(GMPOBJS)
|
||||
rm -f $(BLISSLIB)
|
||||
|
|
|
@ -11,4 +11,4 @@ include/bliss/partition.hh
|
|||
include/bliss/timer.hh
|
||||
include/bliss/uintseqhash.hh
|
||||
include/bliss/utils.hh
|
||||
lib/libbliss.a
|
||||
lib/libbliss.so
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= polymake
|
||||
DISTVERSION= 4.13
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/V${DISTVERSION}/ \
|
||||
https://polymake.org/lib/exe/fetch.php/download/
|
||||
|
@ -93,7 +93,7 @@ TESTS_DESC= Run bundled self tests after build
|
|||
|
||||
BLISS_CONFIGURE_ON= --with-bliss=${LOCALBASE}
|
||||
BLISS_CONFIGURE_OFF= --without-bliss
|
||||
BLISS_BUILD_DEPENDS= bliss-graph-tool>=0.73:math/bliss
|
||||
BLISS_BUILD_DEPENDS= bliss-graph-tool>=0.73:math/bliss # does it need the tool or the library? LIB_DEPENDS should be used in the latter case.
|
||||
BLISS_RUN_DEPENDS= bliss-graph-tool>=0.73:math/bliss
|
||||
|
||||
NAUTY_CONFIGURE_ON= --with-nauty=${LOCALBASE}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
PORTNAME= sympol
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.1.9
|
||||
PORTREVISION= 14
|
||||
PORTREVISION= 15
|
||||
CATEGORIES= math
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
@ -11,9 +11,9 @@ WWW= https://www.math.uni-rostock.de/~rehn/software/sympol.html
|
|||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libbliss.a:math/bliss \
|
||||
permlib>0:math/permlib
|
||||
LIB_DEPENDS= libboost_program_options.so:devel/boost-libs \
|
||||
BUILD_DEPENDS= permlib>0:math/permlib
|
||||
LIB_DEPENDS= libbliss.so:math/bliss \
|
||||
libboost_program_options.so:devel/boost-libs \
|
||||
libcddgmp.so:math/cddlib \
|
||||
libgmp.so:math/gmp
|
||||
|
||||
|
|
Loading…
Reference in New Issue