pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/qpasswd Move LDFLAGS to the end. Fixes Ubuntu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c546bf8c6f00
branches:  trunk
changeset: 327176:c546bf8c6f00
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Sat Dec 22 01:08:56 2018 +0000

description:
Move LDFLAGS to the end. Fixes Ubuntu, doesn't break NetBSD or OS X.

diffstat:

 sysutils/qpasswd/distinfo               |   4 ++--
 sysutils/qpasswd/patches/patch-Makefile |  11 +++++++----
 2 files changed, 9 insertions(+), 6 deletions(-)

diffs (49 lines):

diff -r 23d39dc15293 -r c546bf8c6f00 sysutils/qpasswd/distinfo
--- a/sysutils/qpasswd/distinfo Fri Dec 21 23:13:15 2018 +0000
+++ b/sysutils/qpasswd/distinfo Sat Dec 22 01:08:56 2018 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.2 2018/12/17 16:32:18 schmonz Exp $
+$NetBSD: distinfo,v 1.3 2018/12/22 01:08:56 schmonz Exp $
 
 SHA1 (qpasswd-0.5.tar.bz2) = 72cb41406cf1c3542fc70aefbbde74e7c3dd4cf5
 RMD160 (qpasswd-0.5.tar.bz2) = 0b596c1c487bd9d7c45d2710687f17e2b509a64d
 SHA512 (qpasswd-0.5.tar.bz2) = 3ff454b1939a84fb75be54b1a80d5710a710d78af565e2bcaacf1ec37eea9b56450e5c776c41e857cc3c8877dad950f8144023c11c4dca429b8b27108b466951
 Size (qpasswd-0.5.tar.bz2) = 71473 bytes
-SHA1 (patch-Makefile) = c0da81b6a27bc75c43e04bd88c7555ac67352ac9
+SHA1 (patch-Makefile) = bb11bb669614f08c20336124496f60d2edf45826
 SHA1 (patch-params.h) = 5836dc6d86b64efb54f23a8ea5558b3d00bb84ce
 SHA1 (patch-qpasswd.h) = 44e95989e51bec9620e587a27613ad6728af89e0
diff -r 23d39dc15293 -r c546bf8c6f00 sysutils/qpasswd/patches/patch-Makefile
--- a/sysutils/qpasswd/patches/patch-Makefile   Fri Dec 21 23:13:15 2018 +0000
+++ b/sysutils/qpasswd/patches/patch-Makefile   Sat Dec 22 01:08:56 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-Makefile,v 1.1 2018/08/05 15:00:46 schmonz Exp $
+$NetBSD: patch-Makefile,v 1.2 2018/12/22 01:08:56 schmonz Exp $
 
 Use pkgsrc paths, flags, users, etc.
 
@@ -31,18 +31,21 @@
  #CFLAGS += -W -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wswitch -Wredundant-decls -Wunused
  #CFLAGS += -Werror
  #CFLAGS += -funroll-loops
-@@ -46,17 +46,15 @@ again:     clean setup
+@@ -45,18 +45,16 @@ setup:  it install
+ again:        clean setup
  
  multicheckpw: $(OBJS)
-       $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS)
+-      $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS)
 -      $(STRIP) $@
++      $(CC) $(CFLAGS) -o $@ $(OBJS) $(LDFLAGS)
        for i in checkpasswd checkqpasswd qpasswd; do \
         ( test -f $$i || ln -s multicheckpw $$i ) \
        done
  
  test-cases: $(OBJS2)
-       $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS2)
+-      $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS2)
 -      $(STRIP) $@
++      $(CC) $(CFLAGS) -o $@ $(OBJS2) $(LDFLAGS)
  
  check:        test-cases
 -      test-cases > test-cases.computed



Home | Main Index | Thread Index | Old Index