summaryrefslogtreecommitdiff
path: root/plan9
diff options
context:
space:
mode:
authorsimonb <simonb@pkgsrc.org>1999-10-13 11:32:06 +0000
committersimonb <simonb@pkgsrc.org>1999-10-13 11:32:06 +0000
commit15de5ab502a8384c140c95c831716529fbe41811 (patch)
tree01fc53c2bb6f17ca4360b38d0b8f67e10c7eb9a1 /plan9
parent0c01e54c6132680762bb7ae2b23ad20b1c75d66e (diff)
downloadpkgsrc-15de5ab502a8384c140c95c831716529fbe41811.tar.gz
Use ${LDFLAGS} to get ELF handling right.
Convert to unidiff.
Diffstat (limited to 'plan9')
-rw-r--r--plan9/9menu/patches/patch-aa56
1 files changed, 24 insertions, 32 deletions
diff --git a/plan9/9menu/patches/patch-aa b/plan9/9menu/patches/patch-aa
index f12406bf0e1..5b321855b4f 100644
--- a/plan9/9menu/patches/patch-aa
+++ b/plan9/9menu/patches/patch-aa
@@ -1,33 +1,25 @@
-$NetBSD: patch-aa,v 1.2 1998/08/07 11:11:14 agc Exp $
+$NetBSD: patch-aa,v 1.3 1999/10/13 11:32:06 simonb Exp $
-*** Makefile.orig Fri Aug 11 15:55:35 1995
---- Makefile Fri Aug 11 16:03:26 1995
-***************
-*** 6,13 ****
- # arnold@skeeve.atl.ga.us
-
- CC = gcc
-! CFLAGS = -g -O
-! LIBS = -lX11
-
- 9menu: 9menu.c
- $(CC) $(CFLAGS) 9menu.c $(LIBS) -o 9menu
---- 6,23 ----
- # arnold@skeeve.atl.ga.us
-
- CC = gcc
-! CFLAGS = -O -I/usr/X11R6/include
-! LIBS = -L/usr/X11R6/lib -lX11
-!
-!
-! all: 9menu
-
- 9menu: 9menu.c
- $(CC) $(CFLAGS) 9menu.c $(LIBS) -o 9menu
-+
-+ install:
-+ $(INSTALL) -c 9menu $(PREFIX)/bin
-+ $(INSTALL) -c 9menu.1 $(PREFIX)/man/man1
-+ strip $(PREFIX)/bin/9menu
-+ gzip -9nf $(PREFIX)/man/man1/9menu.1
-+
+--- Makefile.orig Wed Oct 13 19:58:26 1999
++++ Makefile Wed Oct 13 20:56:08 1999
+@@ -6,8 +6,18 @@
+ # arnold@skeeve.atl.ga.us
+
+ CC = gcc
+-CFLAGS = -g -O
++CFLAGS = -O -I/usr/X11R6/include
+ LIBS = -lX11
+
++
++all: 9menu
++
+ 9menu: 9menu.c
+- $(CC) $(CFLAGS) 9menu.c $(LIBS) -o 9menu
++ $(CC) $(CFLAGS) 9menu.c $(LDFLAGS) $(LIBS) -o 9menu
++
++install:
++ $(INSTALL) -c 9menu $(PREFIX)/bin
++ $(INSTALL) -c 9menu.1 $(PREFIX)/man/man1
++ strip $(PREFIX)/bin/9menu
++ gzip -9nf $(PREFIX)/man/man1/9menu.1
++