summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--math/bliss/Makefile3
-rw-r--r--math/bliss/files/patch-Makefile19
-rw-r--r--math/bliss/pkg-plist2
-rw-r--r--math/polymake/Makefile4
-rw-r--r--math/sympol/Makefile8
5 files changed, 28 insertions, 8 deletions
diff --git a/math/bliss/Makefile b/math/bliss/Makefile
index d975c7618a9d..4800948e6bf6 100644
--- a/math/bliss/Makefile
+++ b/math/bliss/Makefile
@@ -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}
diff --git a/math/bliss/files/patch-Makefile b/math/bliss/files/patch-Makefile
index c7f1b6191347..8d167b219a34 100644
--- a/math/bliss/files/patch-Makefile
+++ b/math/bliss/files/patch-Makefile
@@ -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)
diff --git a/math/bliss/pkg-plist b/math/bliss/pkg-plist
index 11d8c8c9a877..67c7120168c9 100644
--- a/math/bliss/pkg-plist
+++ b/math/bliss/pkg-plist
@@ -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
diff --git a/math/polymake/Makefile b/math/polymake/Makefile
index 193dc3bf8ab4..b0a90401376f 100644
--- a/math/polymake/Makefile
+++ b/math/polymake/Makefile
@@ -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}
diff --git a/math/sympol/Makefile b/math/sympol/Makefile
index 4bc3c85b1174..c7fc1bbe9199 100644
--- a/math/sympol/Makefile
+++ b/math/sympol/Makefile
@@ -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