surf-git: Adjust patch-Makefile (at least the comment was wrong)

This commit is contained in:
Leonardo Taccari 2020-11-04 16:13:24 +01:00
parent 63c61cb39e
commit 864467166b
2 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,3 @@
$NetBSD$
SHA1 (patch-Makefile) = b51e072a4d1c4fbfaa2d247e64f361ec55f6aff8
SHA1 (patch-Makefile) = 2d54359d5ca287310ba61e1303d1a9adeb1240be

View File

@ -1,15 +1,24 @@
$NetBSD$
Add non-present .so to SUFFIXES.
Move .SUFFIXES definition so the `.so' rule are honored.
--- Makefile.orig 2020-11-01 17:49:05.189611428 +0000
XXX: POSIX make doesn't seem to require such ordering, i.e. also at the end of
XXX: the Makefile that should work.
--- Makefile.orig 2020-11-04 15:09:31.937492724 +0000
+++ Makefile
@@ -2,6 +2,8 @@
# See LICENSE file for copyright and license details.
.POSIX:
+.SUFFIXES: .so
+.SUFFIXES: .so .o .c
+
include config.mk
SRC = surf.c
@@ -73,5 +75,4 @@ uninstall:
done
- rmdir $(DESTDIR)$(LIBDIR)
-.SUFFIXES: .so .o .c
.PHONY: all options distclean clean dist install uninstall