diff options
Diffstat (limited to 'x11/tkman/patches/patch-aa')
-rw-r--r-- | x11/tkman/patches/patch-aa | 41 |
1 files changed, 20 insertions, 21 deletions
diff --git a/x11/tkman/patches/patch-aa b/x11/tkman/patches/patch-aa index 046e6829451..76fb5bc9729 100644 --- a/x11/tkman/patches/patch-aa +++ b/x11/tkman/patches/patch-aa @@ -1,24 +1,24 @@ -$NetBSD: patch-aa,v 1.7 2000/09/01 03:14:16 fredb Exp $ +$NetBSD: patch-aa,v 1.8 2006/03/03 04:03:28 minskim Exp $ ---- Makefile.orig Thu Jun 22 17:39:42 2000 -+++ Makefile Thu Aug 17 20:10:04 2000 -@@ -26,13 +26,13 @@ +--- Makefile.orig 2006-03-02 19:38:02.000000000 -0800 ++++ Makefile +@@ -25,13 +25,13 @@ mintk = 8.4 + ### you need to localize the paths on these lines - #WISH = /usr/sww/tcl-8.3/bin/wish --WISH = /private/share/bin/wish +-WISH = /usr/local/bin/wish8.4 +WISH = ${LOCALBASE}/bin/wish - #WISH = /private/share/bin/wish8.3 - #WISH = /usr/local/bin/wish8.3 + #WISH = /usr/sww/tcl-8.4/bin/wish + #WISH = /private/share/bin/wish8.4 # the executable `tkman' is placed in BINDIR # this should be a directory that's in your bin PATH --BINDIR = /private/share/bin +-BINDIR = /usr/local/bin +BINDIR = ${PREFIX}/bin - #BINDIR = /usr/local/bin + #BINDIR = /private/share/bin -@@ -81,11 +81,26 @@ +@@ -80,11 +80,25 @@ rfcdir = "" # will examine for matches if a search in the usual locations fails while searching # for a man pages and displaying its associated binaries (if any). # Use this feature carefully as a large number of directories can slow down startup. @@ -26,7 +26,6 @@ $NetBSD: patch-aa,v 1.7 2000/09/01 03:14:16 fredb Exp $ +#mastermen = "/usr/man /usr/local/man" #mastermen = "/usr/man /usr/local/man /usr/sww/man /usr/share/man /usr/kerberos/man" -masterbin = "/usr/bin /usr/local/bin" --#masterbin = "/usr/bin /usr/local/bin /usr/sww/bin /usr/sww/share/bin /usr/sww/share/X11R5/bin" +mastermen = /usr/share/man ${LOCALBASE}/man ${X11BASE}/man +.if (${PREFIX} != ${LOCALBASE}) && (${PREFIX} != ${X11BASE}) +mastermen += ${PREFIX}/man @@ -34,9 +33,9 @@ $NetBSD: patch-aa,v 1.7 2000/09/01 03:14:16 fredb Exp $ +.if (${PREFIX} != "/usr/local") +mastermen += /usr/local/man +.endif - +#masterbin = "/usr/bin /usr/local/bin" -+#masterbin = "/usr/bin /usr/local/bin /usr/sww/bin /usr/sww/share/bin /usr/sww/share/X11R5/bin" + #masterbin = "/usr/bin /usr/local/bin /usr/sww/bin /usr/sww/share/bin /usr/sww/share/X11R5/bin" +- +masterbin = /bin /sbin /usr/bin /usr/sbin +masterbin += ${LOCALBASE}/bin ${LOCALBASE}/sbin ${X11BASE}/bin +.if (${PREFIX} != ${LOCALBASE}) && (${PREFIX} != ${X11BASE}) @@ -48,7 +47,7 @@ $NetBSD: patch-aa,v 1.7 2000/09/01 03:14:16 fredb Exp $ # names of common printers, in addition to default printer (PRINTER or LPDEST) # (individual users can edit this list in the Preferences panel) -@@ -114,7 +129,7 @@ +@@ -113,7 +127,7 @@ dpis = "75 100" # Lines are cached in .../man/cat<n>@<line-length>; # that is, the line length is appended to the usual cache directory names #manformat = {groff -te -Tascii -man /tmp/ll -} @@ -57,7 +56,7 @@ $NetBSD: patch-aa,v 1.7 2000/09/01 03:14:16 fredb Exp $ # Ultrix users should uncomment the following line (you don't have eqn) #manformat = {tbl | nroff -man } # HP-UX uses a number of macros that groff doesn't define, so use the builtin nroff -@@ -122,7 +137,7 @@ +@@ -121,7 +135,7 @@ manformat = {groff -te -Tlatin1 -man /tm # space between the .de and the macro name, and groff doesn't like this.) #manformat = {tbl | neqn | nroff -man } # BSD macros (.Sh, .Ss, .PP, ...) need -mandoc @@ -66,7 +65,7 @@ $NetBSD: patch-aa,v 1.7 2000/09/01 03:14:16 fredb Exp $ # BSDI #manformat = {tbl | eqn -Tascii | nroff -man } # It's actually legal to leave this empty if all the pages you'll ever -@@ -351,8 +366,8 @@ +@@ -349,8 +363,8 @@ tkman: $(srcs) $(libs) Makefile echo 'set manx(mintcl) $(mintcl)' >> tkman echo 'set manx(mintk) $(mintk)' >> tkman echo 'set manx(newuser) $(newuser)' >> tkman @@ -77,13 +76,13 @@ $NetBSD: patch-aa,v 1.7 2000/09/01 03:14:16 fredb Exp $ echo 'set man(zcat) $(zcat)' >> tkman echo 'set man(compress) $(compress)' >> tkman echo 'set man(apropos) $(apropos)' >> tkman -@@ -429,6 +444,9 @@ - echo '}' >> tkman +@@ -428,6 +442,9 @@ tkman: $(srcs) $(libs) Makefile echo 'image create bitmap texRebus -data {' >> tkman cat xbm/tex.xbm >> tkman -+ echo '}' >> tkman + echo '}' >> tkman + echo 'set manx(netbsd-bindings) {' >> tkman + cat contrib/netbsd_bindings.tcl >> tkman - echo '}' >> tkman ++ echo '}' >> tkman echo 'set manx(solaris-bindings) {' >> tkman cat contrib/solaris_bindings.tcl >> tkman + echo '}' >> tkman |