pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/inform
Module Name: pkgsrc
Committed By: nia
Date: Sun Jul 7 10:04:28 UTC 2024
Modified Files:
pkgsrc/lang/inform: distinfo
pkgsrc/lang/inform/patches: patch-Makefile
Log Message:
inform: Use LDFLAGS, link -lm explicitly. Fixes build on NetBSD/aarch64.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/lang/inform/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/inform/patches/patch-Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/inform/distinfo
diff -u pkgsrc/lang/inform/distinfo:1.11 pkgsrc/lang/inform/distinfo:1.12
--- pkgsrc/lang/inform/distinfo:1.11 Tue Oct 26 10:51:38 2021
+++ pkgsrc/lang/inform/distinfo Sun Jul 7 10:04:28 2024
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.11 2021/10/26 10:51:38 nia Exp $
+$NetBSD: distinfo,v 1.12 2024/07/07 10:04:28 nia Exp $
BLAKE2s (inform-6.33-6.12.1.tar.gz) = bc474d2dd8b2ac2ab8213fc4491c4cb61cbc69edc9183aff3402db182af07520
SHA512 (inform-6.33-6.12.1.tar.gz) = 6eaff617fad8ebc63663113b75f81cc0209e32472435abc4773db0ddacef9117a6cbf2fe9525a8ef7028302bc297144b6ec38b2b4d6bf0406472d2490b15d345
Size (inform-6.33-6.12.1.tar.gz) = 742439 bytes
-SHA1 (patch-Makefile) = 498cc5ea03599a9d8f9848e13d543ecf530d0f6f
+SHA1 (patch-Makefile) = b8ef74a34a8f8dfacd7ce65bfadc6bd70478b1c5
Index: pkgsrc/lang/inform/patches/patch-Makefile
diff -u pkgsrc/lang/inform/patches/patch-Makefile:1.2 pkgsrc/lang/inform/patches/patch-Makefile:1.3
--- pkgsrc/lang/inform/patches/patch-Makefile:1.2 Sat Aug 19 00:21:25 2017
+++ pkgsrc/lang/inform/patches/patch-Makefile Sun Jul 7 10:04:28 2024
@@ -1,8 +1,9 @@
-$NetBSD: patch-Makefile,v 1.2 2017/08/19 00:21:25 jlam Exp $
+$NetBSD: patch-Makefile,v 1.3 2024/07/07 10:04:28 nia Exp $
Allow overriding PREFIX
DESTDIR support
PKGMANDIR support
+Honour LDFLAGS, use -lm since this requires frexp and ldexp
--- Makefile.orig 2016-06-04 03:25:08.000000000 +0000
+++ Makefile
@@ -24,6 +25,15 @@ PKGMANDIR support
DEFINES= -DInclude_Directory=\"$(INCLUDEDIR),$(LIBDIR)\" -DTemporary_Directory=\"/tmp\"
+@@ -42,7 +42,7 @@ all: lib $(BINNAME) lib demos tutor
+ $(CC) $(DEFINES) $(OPTS) -o $@ -c $<
+
+ $(BINNAME): $(OBJECTS)
+- $(CC) -o $@ $^
++ $(CC) $(LDFLAGS) -lm -o $@ $^
+
+ %.z5: %.inf $(BINNAME)
+ $(PWD)/$(BINNAME) +lib $< $@
@@ -63,18 +63,18 @@ strip: $(BINNAME)
strip $(BINNAME)
Home |
Main Index |
Thread Index |
Old Index