Date: Mon, 12 Jan 2026 09:01:21 +0000 From: =?utf-8?Q?=C3=84lven?= <alven@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 6cf40a435f07 - main - astro/libnova: fix fetching, improve port Message-ID: <6964b861.f32d.527b3c73@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by alven: URL: https://cgit.FreeBSD.org/ports/commit/?id=6cf40a435f0726d0e67f4cf5a270dcea1a0934d6 commit 6cf40a435f0726d0e67f4cf5a270dcea1a0934d6 Author: Älven <alven@FreeBSD.org> AuthorDate: 2026-01-12 08:53:33 +0000 Commit: Älven <alven@FreeBSD.org> CommitDate: 2026-01-12 09:00:22 +0000 astro/libnova: fix fetching, improve port * Pull sources from Gentoo repo because upstream stopped tarball releases after v0.15 * Clarify LICENSE * Patch to remove hardcoded AM_FLAGS * Patch to fix linking with libelp PR: 292368 Reported by: diizzy@ Approved by: db@, yuri@ (Mentors, implicit) MFH: 2025Q4 --- astro/libnova/Makefile | 11 +++++------ astro/libnova/distinfo | 6 +++--- astro/libnova/files/patch-src_Makefile.am | 20 ++++++++++++++++++++ astro/libnova/files/patch-src_elp_Makefile.am | 10 ++++++++++ 4 files changed, 38 insertions(+), 9 deletions(-) diff --git a/astro/libnova/Makefile b/astro/libnova/Makefile index 9176768b73c3..5b2d0273ce5f 100644 --- a/astro/libnova/Makefile +++ b/astro/libnova/Makefile @@ -1,17 +1,18 @@ PORTNAME= libnova DISTVERSION= 0.16.0 +PORTREVISION= 1 CATEGORIES= astro -MASTER_SITES= https://sourceforge.net/code-snapshots/git/l/li/${PORTNAME}/${PORTNAME}.git/ -DISTNAME= ${PORTNAME}-${PORTNAME}-${GIT_HASH} +# Pull from Gentoo repo because upstream stopped tarball releases after v0.15 +MASTER_SITES= https://dev.gentoo.org/~asturm/distfiles/ MAINTAINER= alven@FreeBSD.org COMMENT= Astronomical Calculation Library WWW= https://libnova.sourceforge.net/ -LICENSE= GPLv2 +LICENSE= LGPL20+ LICENSE_FILE= ${WRKSRC}/COPYING -USES= autoreconf libtool zip +USES= autoreconf libtool tar:xz USE_LDCONFIG= yes GNU_CONFIGURE= yes @@ -20,8 +21,6 @@ INSTALL_TARGET= install-strip PLIST_SUB= SOVERSION=${DISTVERSION:R} -GIT_HASH= edbf65abe27ef1a2520eb9e839daaf58f15a6941 - post-patch: @${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure.ac diff --git a/astro/libnova/distinfo b/astro/libnova/distinfo index 64762b91bb13..a1523ee86788 100644 --- a/astro/libnova/distinfo +++ b/astro/libnova/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1744455361 -SHA256 (libnova-libnova-edbf65abe27ef1a2520eb9e839daaf58f15a6941.zip) = 2703497573f949146895dedb6fdf74c8d1f15dbdb831074bbaabc5052bdedc07 -SIZE (libnova-libnova-edbf65abe27ef1a2520eb9e839daaf58f15a6941.zip) = 1373439 +TIMESTAMP = 1768205936 +SHA256 (libnova-0.16.0.tar.xz) = 699a6ffe0b70a2b4f594ca4231eedfc772161460a9de7ff90dd1d92fd3ba7d39 +SIZE (libnova-0.16.0.tar.xz) = 909212 diff --git a/astro/libnova/files/patch-src_Makefile.am b/astro/libnova/files/patch-src_Makefile.am new file mode 100644 index 000000000000..58e69949fc53 --- /dev/null +++ b/astro/libnova/files/patch-src_Makefile.am @@ -0,0 +1,20 @@ +--- src/Makefile.am.orig 2019-11-20 19:29:37 UTC ++++ src/Makefile.am +@@ -1,6 +1,6 @@ + ## Process this file with automake to produce Makefile.in + +-AM_CFLAGS = -Wall -O3 $(AVX_CFLAGS) ++AM_CFLAGS = $(AVX_CFLAGS) + + SUBDIRS = libnova elp + +@@ -46,8 +46,7 @@ libnova_la_LIBADD = \ + lunar-priv.h + + libnova_la_LIBADD = \ +- -Lelp/ \ +- -lelp ++ elp/libelp.la + + libnova_la_LDFLAGS = \ + -version-info $(LT_VERSION) \ diff --git a/astro/libnova/files/patch-src_elp_Makefile.am b/astro/libnova/files/patch-src_elp_Makefile.am new file mode 100644 index 000000000000..184d54690125 --- /dev/null +++ b/astro/libnova/files/patch-src_elp_Makefile.am @@ -0,0 +1,10 @@ +--- src/elp/Makefile.am.orig 2019-11-20 19:29:37 UTC ++++ src/elp/Makefile.am +@@ -1,6 +1,6 @@ noinst_LTLIBRARIES = libelp.la + noinst_LTLIBRARIES = libelp.la + +-AM_CFLAGS = -I ../ -Wall -O3 $(AVX_CFLAGS) ++AM_CFLAGS = -I ../ $(AVX_CFLAGS) + + libelp_la_SOURCES = \ + elp1.c \home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6964b861.f32d.527b3c73>
