Skip to content

Commit 1dc31eb

Browse files
CAB233MingcongBai
authored andcommitted
minicom: fix build
1 parent 82b1295 commit 1dc31eb

File tree

3 files changed

+39
-4
lines changed

3 files changed

+39
-4
lines changed

app-utils/minicom/autobuild/defines

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,4 @@ PKGSEC=utils
33
PKGDEP="glibc lrzsz ncurses"
44
PKGDES="A text-based modem control and terminal emulation program"
55

6-
# FIXME: Broken configure script after re-generation.
7-
#
8-
# make[2]: *** No rule to make target '/config.status', needed by 'Makefile'. Stop.
9-
RECONF=0
6+
ABTYPE=autotools
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
From 70f608cb579f485004122a223b3e03d62b7ab22f Mon Sep 17 00:00:00 2001
2+
From: Adam Lackorzynski <[email protected]>
3+
Date: Sat, 22 Feb 2025 11:43:49 +0100
4+
Subject: [PATCH] BACKPORT: autogen: Simplify
5+
6+
Just call "autoreconf -fi".
7+
---
8+
autogen.sh | 12 ++++--------
9+
1 file changed, 4 insertions(+), 8 deletions(-)
10+
11+
diff --git a/autogen.sh b/autogen.sh
12+
index bde01a8..9aa99b9 100755
13+
--- a/autogen.sh
14+
+++ b/autogen.sh
15+
@@ -2,15 +2,11 @@
16+
#
17+
# $Id: autogen.sh,v 1.16 2009-11-15 20:00:56 al-guest Exp $
18+
19+
-AUTOMAKEVER=1.16
20+
-
21+
set -x
22+
23+
-aclocal-$AUTOMAKEVER
24+
-[ "$?" != 0 ] && echo "aclocal-$AUTOMAKEVER not available or failed!" && exit 1
25+
-autoheader || exit 1
26+
-automake-$AUTOMAKEVER -c --add-missing --force --gnu || exit 1
27+
-autoconf || exit 1
28+
+autoreconf -fi
29+
30+
# remove once it comes via config.sub directly
31+
-perl -p -i -e 's/(\| hcos\* )/$1| l4re* /' config.sub
32+
+if grep -qv l4re config.sub; then
33+
+ perl -p -i -e 's/(\| hcos\* )/$1| l4re* /' config.sub
34+
+fi
35+
--
36+
2.51.0
37+

app-utils/minicom/spec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
VER=2.10
2+
REL=1
23
SRCS="git::commit=tags/${VER}::https://salsa.debian.org/minicom-team/minicom.git"
34
CHKSUMS="SKIP"
45
CHKUPDATE="anitya::id=1983"

0 commit comments

Comments
 (0)