Don't specify the goal length at all; -g is not accepted by all flavors
of fmt(1).
This commit is contained in:
parent
1adcd911fc
commit
df23bb037d
3 changed files with 8 additions and 6 deletions
|
@ -1,12 +1,14 @@
|
|||
# $NetBSD: Makefile,v 1.1 2022/07/18 03:43:05 thorpej Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2023/07/20 22:02:46 thorpej Exp $
|
||||
|
||||
DISTNAME= lwtools-4.19
|
||||
CATEGORIES= cross
|
||||
MASTER_SITES= http://www.lwtools.ca/releases/lwtools/
|
||||
|
||||
PKGREVISION= 1
|
||||
|
||||
MAINTAINER= thorpej@NetBSD.org
|
||||
HOMEPAGE= http://www.lwtools.ca/
|
||||
COMMENT= Cross-development tools for the Motorola 6809 Hitachi 6309
|
||||
COMMENT= Cross-development tools for the Motorola 6809 and Hitachi 6309
|
||||
LICENSE= gnu-gpl-v3
|
||||
|
||||
USE_TOOLS+= gmake
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
$NetBSD: distinfo,v 1.1 2022/07/18 03:43:05 thorpej Exp $
|
||||
$NetBSD: distinfo,v 1.2 2023/07/20 22:02:46 thorpej Exp $
|
||||
|
||||
BLAKE2s (lwtools-4.19.tar.gz) = 3b474babce2a1895c9bf5535aa9ce55fcaed0b0c52ccfaf4d24657c6fa0c0270
|
||||
SHA512 (lwtools-4.19.tar.gz) = 9bb09a018969ddf70eee8fe7f3572798718bc9eee4cdd74c252ffadb741282e5822fab0a7595f2e568566086293c4ca70c84855c2d3796f4458bacdfcd187b68
|
||||
Size (lwtools-4.19.tar.gz) = 657929 bytes
|
||||
SHA1 (patch-Makefile) = 8b6f3c5c46477e838292ede677dfc57be58781a3
|
||||
SHA1 (patch-Makefile) = c3f807de5d7a25a80b423af1ff9c6d4eb90db888
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: patch-Makefile,v 1.1 2022/07/18 03:43:05 thorpej Exp $
|
||||
$NetBSD: patch-Makefile,v 1.2 2023/07/20 22:02:46 thorpej Exp $
|
||||
|
||||
Use portable arguments to fmt(1).
|
||||
|
||||
|
@ -9,7 +9,7 @@ Use portable arguments to fmt(1).
|
|||
@mv -f $*.d $*.d.tmp
|
||||
@sed -e 's|.*:|$*.o $*.d:|' < $*.d.tmp > $*.d
|
||||
- @sed -e 's/.*://' -e 's/\\$$//' < $*.d.tmp | fmt -1 | sed -e 's/^ *//' -e 's/$$/:/' >> $*.d
|
||||
+ @sed -e 's/.*://' -e 's/\\$$//' < $*.d.tmp | fmt -w 1 -g 0 | sed -e 's/^ *//' -e 's/$$/:/' >> $*.d
|
||||
+ @sed -e 's/.*://' -e 's/\\$$//' < $*.d.tmp | fmt -w 1 | sed -e 's/^ *//' -e 's/$$/:/' >> $*.d
|
||||
@rm -f $*.d.tmp
|
||||
@echo Building $@
|
||||
@$(CC) $(CPPFLAGS) $(CFLAGS) -o $@ -c $<
|
||||
|
|
Loading…
Reference in a new issue