pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc/mdp



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Mar 16 22:25:06 UTC 2024

Modified Files:
        pkgsrc/misc/mdp: Makefile distinfo
        pkgsrc/misc/mdp/patches: patch-Makefile

Log Message:
mdp: Honour LDFLAGS when linking


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/misc/mdp/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/misc/mdp/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/misc/mdp/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/misc/mdp/Makefile
diff -u pkgsrc/misc/mdp/Makefile:1.3 pkgsrc/misc/mdp/Makefile:1.4
--- pkgsrc/misc/mdp/Makefile:1.3        Fri Jan  3 11:47:19 2020
+++ pkgsrc/misc/mdp/Makefile    Sat Mar 16 22:25:05 2024
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2020/01/03 11:47:19 nia Exp $
+# $NetBSD: Makefile,v 1.4 2024/03/16 22:25:05 nia Exp $
 
 DISTNAME=      mdp-1.0.15
+PKGREVISION=   1
 CATEGORIES=    misc
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=visit1985/}
 GITHUB_PROJECT=        mdp

Index: pkgsrc/misc/mdp/distinfo
diff -u pkgsrc/misc/mdp/distinfo:1.5 pkgsrc/misc/mdp/distinfo:1.6
--- pkgsrc/misc/mdp/distinfo:1.5        Tue Oct 26 10:59:15 2021
+++ pkgsrc/misc/mdp/distinfo    Sat Mar 16 22:25:05 2024
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 10:59:15 nia Exp $
+$NetBSD: distinfo,v 1.6 2024/03/16 22:25:05 nia Exp $
 
 BLAKE2s (mdp-1.0.15.tar.gz) = e0543e973984a55d59560894a513c96ecb98d2ec350df8104d907212e344745a
 SHA512 (mdp-1.0.15.tar.gz) = 88337224dc7b58bc82f68861083e31ac429ff97e6dfcf7a66042c302205ca01947df35445e0b4683c5c5a998c493db882d3aaff462673b5a387865c33752bb0e
 Size (mdp-1.0.15.tar.gz) = 37728 bytes
-SHA1 (patch-Makefile) = 39d409d26b6be6bb0f3c4bda9d1e92ecebe905bd
+SHA1 (patch-Makefile) = e74cedb4f50d0d1fd96c7d7301ef7b510f2139f2

Index: pkgsrc/misc/mdp/patches/patch-Makefile
diff -u pkgsrc/misc/mdp/patches/patch-Makefile:1.2 pkgsrc/misc/mdp/patches/patch-Makefile:1.3
--- pkgsrc/misc/mdp/patches/patch-Makefile:1.2  Tue Feb  6 10:14:29 2018
+++ pkgsrc/misc/mdp/patches/patch-Makefile      Sat Mar 16 22:25:06 2024
@@ -1,20 +1,38 @@
-$NetBSD: patch-Makefile,v 1.2 2018/02/06 10:14:29 jperkin Exp $
+$NetBSD: patch-Makefile,v 1.3 2024/03/16 22:25:06 nia Exp $
 
+* Honour LDFLAGS
 * Let pkgsrc pull in the correct curses library
 * Honor pkgsrc man directory
 
---- Makefile.orig      2016-11-03 07:34:00.000000000 +0000
+--- Makefile.orig      2018-10-03 22:04:48.000000000 +0000
 +++ Makefile
-@@ -44,7 +44,7 @@ ifeq ($(DEBUG),1)
-       LDFLAGS :=
+@@ -27,7 +27,6 @@ DESTDIR =
+ PREFIX  ?= /usr/local
+ 
+ CURSES  = ncursesw
+-LDFLAGS ?= -s
+ 
+ ifeq (Windows_NT,$(OS))
+       ifeq (,$(findstring CYGWIN,$(UNAME_S)))
+@@ -35,16 +34,7 @@ ifeq (Windows_NT,$(OS))
+       endif
  endif
  
+-ifeq ($(UNAME_S),Darwin)
+-      CURSES := ncurses
+-      LDFLAGS :=
+-endif
+-
+-ifeq ($(DEBUG),1)
+-      LDFLAGS :=
+-endif
+-
 -LDLIBS   = -l$(CURSES)
 +LDLIBS   = -lcurses
  
  all: $(TARGET)
  
-@@ -61,8 +61,8 @@ clean:
+@@ -61,8 +51,8 @@ clean:
  install:
        install -d $(DESTDIR)$(PREFIX)/bin
        install -m 755 $(TARGET) $(DESTDIR)$(PREFIX)/bin/$(TARGET)



Home | Main Index | Thread Index | Old Index