mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
math/lrslib: update 7.2 → 7.3
This commit is contained in:
parent
4038e27d51
commit
5d713577de
5 changed files with 10 additions and 37 deletions
|
@ -1,5 +1,5 @@
|
|||
PORTNAME= lrslib
|
||||
PORTVERSION= 7.2
|
||||
PORTVERSION= 7.3
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/
|
||||
|
@ -28,6 +28,8 @@ ALL_TARGET= all-shared
|
|||
|
||||
MAKE_ARGS= CFLAGS="${CFLAGS}" INCLUDEDIR=${LOCALBASE}/include LIBDIR=${LOCALBASE}/lib
|
||||
|
||||
CFLAGS+= -I${WRKSRC}/lrsarith-011
|
||||
|
||||
LDFLAGS+= -lthr
|
||||
|
||||
BINARY_ALIAS= gcc=${CC}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1692066216
|
||||
SHA256 (lrslib-072.tar.gz) = fc48754a1ded1d8445d40ecfbe3546e4f27d53aaee95dc2c8c0c79fb9cd532f0
|
||||
SIZE (lrslib-072.tar.gz) = 496411
|
||||
TIMESTAMP = 1737006260
|
||||
SHA256 (lrslib-073.tar.gz) = c49a4ebd856183473d1d5a62785fcdfe1057d5d671d4b96f3a1250eb1afe4e83
|
||||
SIZE (lrslib-073.tar.gz) = 4566562
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
--- lrslib.c.orig 2022-03-10 09:42:46 UTC
|
||||
+++ lrslib.c
|
||||
@@ -32,6 +32,8 @@
|
||||
#include <limits.h>
|
||||
#include <libgen.h>
|
||||
|
||||
+#include <libgen.h> // for basename(3)
|
||||
+
|
||||
#include "lrsrestart.h"
|
||||
#include "lrslib.h"
|
||||
|
||||
@@ -75,7 +77,7 @@ static void ptimes (void);
|
||||
static double get_time(void);
|
||||
#endif
|
||||
|
||||
-char *basename(char *path);
|
||||
+//char *basename(char *path);
|
||||
|
||||
/*******************************/
|
||||
/* signals handling */
|
|
@ -1,6 +1,6 @@
|
|||
--- makefile.orig 2022-03-10 09:42:46 UTC
|
||||
--- makefile.orig 2024-05-31 03:17:39 UTC
|
||||
+++ makefile
|
||||
@@ -231,7 +231,7 @@ SHLIBBIN=lrs-shared lrsnash-shared
|
||||
@@ -246,7 +246,7 @@ ${SHLIB}: ${SHLIBOBJ}
|
||||
# Building (linking) the shared library, and relevant symlinks.
|
||||
|
||||
${SHLIB}: ${SHLIBOBJ}
|
||||
|
@ -9,7 +9,7 @@
|
|||
|
||||
${SONAME}: ${SHLIB}
|
||||
ln -sf ${SHLIB} ${SONAME}
|
||||
@@ -244,11 +244,11 @@ ${SHLINK}: ${SONAME}
|
||||
@@ -259,11 +259,11 @@ lrs-shared: ${SHLINK} lrs-shared.o
|
||||
all-shared: ${SHLIBBIN}
|
||||
|
||||
lrs-shared: ${SHLINK} lrs-shared.o
|
||||
|
@ -23,14 +23,7 @@
|
|||
|
||||
# driver object files
|
||||
|
||||
@@ -282,19 +282,19 @@ lrslib2-shr.o: lrslib.c lrslib.h
|
||||
# install targets
|
||||
# where to install binaries, libraries, include files
|
||||
prefix ?= /usr/local
|
||||
-INSTALL_INCLUDES=lrslib.h lrsdriver.h lrsgmp.h lrslong.h lrsmp.h lrsrestart.h
|
||||
+INSTALL_INCLUDES=lrslib.h lrsdriver.h lrsgmp.h lrslong.h lrsmp.h lrsnashlib.h lrsrestart.h mplrs.h
|
||||
|
||||
install: all-shared install-common
|
||||
@@ -303,13 +303,13 @@ install: all-shared install-common
|
||||
mkdir -p $(DESTDIR)${prefix}/bin
|
||||
for file in ${SHLIBBIN}; do cp $${file} $(DESTDIR)${prefix}/bin/$$(basename $$file -shared); done
|
||||
mkdir -p $(DESTDIR)${prefix}/lib
|
||||
|
|
|
@ -5,9 +5,7 @@ include/lrslib/lrsgmp.h
|
|||
include/lrslib/lrslib.h
|
||||
include/lrslib/lrslong.h
|
||||
include/lrslib/lrsmp.h
|
||||
include/lrslib/lrsnashlib.h
|
||||
include/lrslib/lrsrestart.h
|
||||
include/lrslib/mplrs.h
|
||||
lib/liblrs.so
|
||||
lib/liblrs.so.1
|
||||
lib/liblrs.so.1.0.0
|
||||
|
|
Loading…
Add table
Reference in a new issue