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

comms/xastir: Update to 2.1.8

ChangeLog: https://github.com/Xastir/Xastir/releases/tag/Release-2.1.8

While here:

* Remove gettext and python from USES. The port doesn't used them anymore.
* Remove comment
* Move patch to .am file instead of generated .in file
* Remove sparc64 patch (architecture is UNSUPPORTED in 13 and above)
* Add USES=autoreconf

This last item allows us to bypass bootstrap.sh. The language preprocessing is
already done in the config directory so there is no need to do it as a bootstrap
step.

PR:	259669
Reported by:	russo@bogodyn.org (xastir developer)
Approved by:	carl@stagecraft.cx (maintainer, timeout > 1 month)
This commit is contained in:
Fernando Apesteguía 2021-12-29 12:41:25 +01:00
parent 3764cfcbf6
commit 27132d3fda
5 changed files with 20 additions and 32 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= xastir
DISTVERSIONPREFIX= Release-
DISTVERSION= 2.1.6
DISTVERSION= 2.1.8
CATEGORIES= comms hamradio
MAINTAINER= carl@stagecraft.cx
@ -25,7 +25,7 @@ LIB_DEPENDS= libfreetype.so:print/freetype2 \
libwmflite.so:graphics/libwmf \
libpcre.so:devel/pcre
USES= gettext gmake gnome jpeg motif python:run shebangfix xorg
USES= autoreconf gmake gnome jpeg motif shebangfix xorg
USE_XORG= ice sm x11 xext xt
USE_GNOME+= libxml2
@ -37,7 +37,6 @@ SHEBANG_REGEX= ./scripts/.*\.(sh|pl|py)
USE_GITHUB= yes
GH_ACCOUNT= Xastir
GH_PROJECT= Xastir
#CFLAGS+= -fcommon
SUB_FILES= pkg-message
@ -86,4 +85,8 @@ BDB_USES= bdb
BDB_CONFIGURE_ON= --with-bdb-incdir=${BDB_INCLUDE_DIR} \
--with-bdb-libdir=${BDB_LIB_DIR}
post-extract:
@${REINPLACE_CMD} -e 's|2>&1||g' ${WRKSRC}/acinclude.m4
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1600663254
SHA256 (Xastir-Xastir-Release-2.1.6_GH0.tar.gz) = 5a71af2936d4d237c779b1c3a519211f8e3cd03b9873a260c849ddc8950e1a3e
SIZE (Xastir-Xastir-Release-2.1.6_GH0.tar.gz) = 2687180
TIMESTAMP = 1636154486
SHA256 (Xastir-Xastir-Release-2.1.8_GH0.tar.gz) = aa88069f149dbe720276d0134282bc491e7993d8a88380c8fe2a4735ee6444fc
SIZE (Xastir-Xastir-Release-2.1.8_GH0.tar.gz) = 2222586

View File

@ -0,0 +1,11 @@
--- Makefile.am.orig 2021-12-29 11:33:10 UTC
+++ Makefile.am
@@ -76,7 +76,7 @@ install-data-hook:
rm -f CC_OpenStreetMap.png && \
$(LN_S) CC_OpenStreetMap_logo.png CC_OpenStreetMap.png
-mandir=${prefix}/share/man
+mandir=@mandir@
man_MANS=xastir.1 callpass.1 xastir_udp_client.1 testdbfawk.1
# Use tiles for these maps

View File

@ -1,11 +0,0 @@
--- Makefile.in.orig 2016-07-01 18:52:47 UTC
+++ Makefile.in
@@ -284,7 +284,7 @@ libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
lpr = @lpr@
-mandir = ${prefix}/share/man
+mandir = @mandir@
mkdir_p = @mkdir_p@
mv = @mv@
oldincludedir = @oldincludedir@

View File

@ -1,15 +0,0 @@
--- src/Makefile.in.orig 2014-09-12 19:05:57 UTC
+++ src/Makefile.in
@@ -522,6 +522,12 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xa_config.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xastir_udp_client.Po@am__quote@
+ifeq ($(host_cpu),sparc64)
+draw_symbols.o: draw_symbols.c
+@am__fastdepCC_TRUE@ $(patsubst -O%,-O0,$(COMPILE)) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+endif
+
.c.o:
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po