1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- Update to the latest upstream commit

- Reword the COMMENT and port description
- Do not always pass -g compiler switch
- Set shared library SONAME as needed
- Relinquish maintainership while here

Found out via:	repology.org
This commit is contained in:
Alexey Dokuchaev 2020-04-17 14:13:30 +00:00
parent de6b7ec8cf
commit f6acd4bf78
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=531934
4 changed files with 37 additions and 13 deletions

View File

@ -2,27 +2,25 @@
# $FreeBSD$
PORTNAME= libcircllhist
PORTVERSION= g20190612
PORTVERSION= g20200417
CATEGORIES= devel
MAINTAINER= danfe@FreeBSD.org
COMMENT= C implementation of Circonus log-linear histograms
MAINTAINER= ports@FreeBSD.org
COMMENT= Circonus log-linear histogram C implementation
LICENSE= BSD3CLAUSE
USE_GITHUB= yes
GH_ACCOUNT= circonus-labs
GH_TAGNAME= 5b43fe1
GH_TAGNAME= b7c6248
USES= autoreconf gmake
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
PLIST_FILES= include/circllhist.h lib/libcircllhist.a \
PLIST_FILES= bin/circllhist_print \
include/circllhist.h lib/libcircllhist.a \
lib/libcircllhist.so lib/libcircllhist.so.0.0.1 \
share/lua/5.1/ffi_libcircllhist.lua
post-patch:
@${REINPLACE_CMD} -e 's,-O5 ,,' ${WRKSRC}/configure.ac
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1560360747
SHA256 (circonus-labs-libcircllhist-g20190612-5b43fe1_GH0.tar.gz) = 2bf7f54a8e68f0ee310f8c1e427739eef1d097bde83b7de6d96fb5f5b263cf3c
SIZE (circonus-labs-libcircllhist-g20190612-5b43fe1_GH0.tar.gz) = 85522
TIMESTAMP = 1587128311
SHA256 (circonus-labs-libcircllhist-g20200417-b7c6248_GH0.tar.gz) = 031e50cea34db21828bda678144113b54867204c30833418fd99b93e752a939c
SIZE (circonus-labs-libcircllhist-g20200417-b7c6248_GH0.tar.gz) = 86689

View File

@ -0,0 +1,26 @@
--- configure.ac.orig 2019-10-16 20:36:24 UTC
+++ configure.ac
@@ -31,19 +31,19 @@ AC_PATH_PROG(CTFMERGE, ctfmerge)
if test "x$GCC" = "xyes" ; then
C99FLAG="-std=c99"
- CFLAGS="$CFLAGS -g $C99FLAG"
+ CFLAGS="$CFLAGS $C99FLAG"
DEPFLAGS="-MM"
else
C99FLAG="-xc99=all"
- CFLAGS="$CFLAGS -g $C99FLAG"
+ CFLAGS="$CFLAGS $C99FLAG"
DEPFLAGS="-xM1"
fi
-SHLDFLAGS="$LDFLAGS"
+SHLDFLAGS="$LDFLAGS -Wl,-soname,libcircllhist.so.0"
DOTSO=.so
if test "x$COPT" = "x" ; then
- COPT="-O5 -DNDEBUG"
+ COPT="-DNDEBUG"
fi
case $host in

View File

@ -1,4 +1,4 @@
This package includes C implementation of Circonus log-linear histogram
(header and library) and Lua v5.1 bindings to it.
This package includes Circonus log-linear histogram C implementation
(simple program, header, and library) and Lua v5.1 bindings to it.
WWW: https://github.com/circonus-labs/libcircllhist