diff options
author | agc <agc> | 2003-06-04 08:50:12 +0000 |
---|---|---|
committer | agc <agc> | 2003-06-04 08:50:12 +0000 |
commit | f47d4e20719a39020e615a6675e0150f4e9a128f (patch) | |
tree | ab24561d6d6e833cdbd718ab3009822584241294 /misc/9menu/patches | |
parent | 3aa18005876a93dc91aaedf4758f9e5b6e439a63 (diff) | |
download | pkgsrc-f47d4e20719a39020e615a6675e0150f4e9a128f.tar.gz |
Update to version 1.6 of 9menu.
The main differences to the package itself seem to be in its packaging.
Main changes to the package:
Correct the comment.
Make this much more portable to other pkgsrc platforms
Generalise for X11 locations other than /usr/X11R6.
Use a do-install target in the package Makefile
Let pkgsrc do any manual page manipulation
Diffstat (limited to 'misc/9menu/patches')
-rw-r--r-- | misc/9menu/patches/patch-aa | 29 |
1 files changed, 10 insertions, 19 deletions
diff --git a/misc/9menu/patches/patch-aa b/misc/9menu/patches/patch-aa index 4cc76378f68..ed945b8a833 100644 --- a/misc/9menu/patches/patch-aa +++ b/misc/9menu/patches/patch-aa @@ -1,25 +1,16 @@ -$NetBSD: patch-aa,v 1.1.1.1 2000/12/14 00:54:49 wiz Exp $ +$NetBSD: patch-aa,v 1.2 2003/06/04 08:50:13 agc Exp $ ---- Makefile.orig Wed Oct 13 19:58:26 1999 -+++ Makefile Wed Oct 13 20:56:08 1999 -@@ -6,8 +6,18 @@ +--- Makefile.noimake 2003/06/04 08:23:07 1.1 ++++ Makefile.noimake 2003/06/04 08:37:56 +@@ -5,9 +5,8 @@ + # Arnold Robbins # arnold@skeeve.atl.ga.us - CC = gcc +-CC = gcc -CFLAGS = -g -O -+CFLAGS = -O -I/usr/X11R6/include - LIBS = -lX11 +-LIBS = -lX11 ++CFLAGS+= -I${X11BASE}/include ++LIBS = ${LDFLAGS} -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 -+ + $(CC) $(CFLAGS) 9menu.c $(LIBS) -o 9menu |