pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

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



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Wed Nov 4 16:13:24 2020 +0100
Changeset:	864467166bb0ad4315c52409f708e0aa724653c1

Modified Files:
	surf-git/distinfo
	surf-git/patches/patch-Makefile

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

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=864467166bb0ad4315c52409f708e0aa724653c1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 surf-git/distinfo               |  2 +-
 surf-git/patches/patch-Makefile | 15 ++++++++++++---
 2 files changed, 13 insertions(+), 4 deletions(-)

diffs:
diff --git a/surf-git/distinfo b/surf-git/distinfo
index 1bea1acf69..e7c2d35f28 100644
--- a/surf-git/distinfo
+++ b/surf-git/distinfo
@@ -1,3 +1,3 @@
 $NetBSD$
 
-SHA1 (patch-Makefile) = b51e072a4d1c4fbfaa2d247e64f361ec55f6aff8
+SHA1 (patch-Makefile) = 2d54359d5ca287310ba61e1303d1a9adeb1240be
diff --git a/surf-git/patches/patch-Makefile b/surf-git/patches/patch-Makefile
index abcd76cf72..674eedef88 100644
--- a/surf-git/patches/patch-Makefile
+++ b/surf-git/patches/patch-Makefile
@@ -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


Home | Main Index | Thread Index | Old Index