pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/dialog Since we're already patching Makefile to n...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ad982aa13eac
branches:  trunk
changeset: 462659:ad982aa13eac
user:      danw <danw%pkgsrc.org@localhost>
date:      Wed Oct 08 03:01:32 2003 +0000

description:
Since we're already patching Makefile to not install libdialog.a, patch
it further to not even build it, and just link the objects in directly,
to save us from having to drag in libtool so the library gets ranlibbed
properly on darwin. PR 20487

diffstat:

 misc/dialog/distinfo         |   4 ++--
 misc/dialog/patches/patch-aa |  36 ++++++++++++++++++++++--------------
 2 files changed, 24 insertions(+), 16 deletions(-)

diffs (87 lines):

diff -r ae851c73557c -r ad982aa13eac misc/dialog/distinfo
--- a/misc/dialog/distinfo      Wed Oct 08 02:21:32 2003 +0000
+++ b/misc/dialog/distinfo      Wed Oct 08 03:01:32 2003 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.4 2003/09/15 15:02:54 jschauma Exp $
+$NetBSD: distinfo,v 1.5 2003/10/08 03:01:32 danw Exp $
 
 SHA1 (dialog-0.6z.tar.gz) = 3c9483554bbb63bb8838e1f7b31f2600a33198ad
 Size (dialog-0.6z.tar.gz) = 50901 bytes
-SHA1 (patch-aa) = 267ffec46c4c7ae070df8eb78ac7db77310a2bad
+SHA1 (patch-aa) = 39dddd7e772d2d0e796ba80eb9309db8b5c679f5
 SHA1 (patch-ab) = 39318c50019277ffa1cecdb33f16e16c11ad37af
 SHA1 (patch-ac) = 5862dd0163f2979b8071d8dbc6388c466a162042
 SHA1 (patch-ad) = 90a88a838923423cfe3bdbfc5d9de6d40bd10cee
diff -r ae851c73557c -r ad982aa13eac misc/dialog/patches/patch-aa
--- a/misc/dialog/patches/patch-aa      Wed Oct 08 02:21:32 2003 +0000
+++ b/misc/dialog/patches/patch-aa      Wed Oct 08 03:01:32 2003 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.8 2001/06/19 15:53:11 jlam Exp $
+$NetBSD: patch-aa,v 1.9 2003/10/08 03:01:32 danw Exp $
 
 --- Makefile.orig      Thu Jan  9 01:19:34 1997
-+++ Makefile
-@@ -17,20 +17,20 @@
++++ Makefile   Tue Oct  7 22:51:21 2003
+@@ -17,21 +17,19 @@
  # can be disabled to make dialog a bit smaller (could be done for more things)
  HAVE_GUAGE=true
  
@@ -25,12 +25,12 @@
  
 -CFLAGS = $(OPTIM) -DLOCALE -DVERSION=\"0.6z\"
 -LDFLAGS = -L .
+-LDLIBS = -ldialog
 +CFLAGS += $(OPTIM) -DLOCALE -DVERSION=\"0.6z\"
-+LDFLAGS += -L .
- LDLIBS = -ldialog
  
  OBJS = checklist.o inputbox.o menubox.o msgbox.o \
-@@ -42,7 +42,7 @@
+        textbox.o util.o yesno.o
+@@ -42,7 +40,7 @@
  OBJS+=mouse.o
  endif
  ifeq ($(HAVE_NCURSES), true)
@@ -39,25 +39,33 @@
  LDLIBS+=-lncurses
  endif
  ifeq ($(HAVE_RC_FILE), true)
-@@ -59,7 +59,7 @@
- all: libdialog.a dialog
+@@ -56,12 +54,9 @@
+ 
+ SRCS = $(OBJS:.o=.c)
  
- libdialog.a: $(OBJS)
+-all: libdialog.a dialog
++all: dialog
+ 
+-libdialog.a: $(OBJS)
 -      ar rcs libdialog.a $(OBJS)
-+      ar rc libdialog.a $(OBJS)
+-
+-dialog: dialog.o
++dialog: dialog.o $(OBJS)
  
- dialog: dialog.o
+ clean:
+       rm -f core *.o *~ dialog .depend libdialog.a dialog.1 dialog.in
+@@ -69,8 +64,8 @@
  
-@@ -70,7 +70,7 @@
  include .depend
  
- install: dialog libdialog.a
+-install: dialog libdialog.a
 -      install -s dialog $(BINDIR)
++install: dialog 
 +      ${BSD_INSTALL_PROGRAM} dialog $(BINDIR)
        cp dialog.man dialog.1
  ifeq ($(HAVE_RC_FILE),false)
        mv dialog.1 dialog.in
-@@ -82,7 +82,7 @@
+@@ -82,7 +77,7 @@
  endif
        mv dialog.1 dialog.in
        sed -e "/COMMENTSTART/,/COMMENTEND/d" dialog.in >dialog.1



Home | Main Index | Thread Index | Old Index