2011-08-18 07:03:10 +02:00
|
|
|
$NetBSD: patch-ab,v 1.9 2011/08/18 05:03:10 dholland Exp $
|
|
|
|
|
|
|
|
Config for pkgsrc.
|
|
|
|
DESTDIR support.
|
|
|
|
Make the SYMLINK relative.
|
1998-08-07 13:08:53 +02:00
|
|
|
|
2007-12-27 12:43:51 +01:00
|
|
|
--- unix/Config.orig 1999-03-06 22:43:28.000000000 +0000
|
2002-12-12 22:02:58 +01:00
|
|
|
+++ unix/Config
|
2011-08-18 07:03:10 +02:00
|
|
|
@@ -33,9 +33,11 @@
|
1998-04-26 07:43:36 +02:00
|
|
|
# even if an old version is currently in use. You can remove
|
|
|
|
# the old version manually later when it is no longer in use.
|
|
|
|
|
|
|
|
-# TF="/usr/local/bin/tf-${TFVER}"
|
|
|
|
-# LIBDIR="/usr/local/lib/tf-${TFVER}-lib"
|
|
|
|
-# SYMLINK="/usr/local/bin/tf"
|
2011-08-18 07:03:10 +02:00
|
|
|
+DESTDIR="@DESTDIR@"
|
|
|
|
+TF="${PREFIX}/bin/tf-${TFVER}"
|
|
|
|
+LIBDIR="${PREFIX}/lib/tf-${TFVER}-lib"
|
|
|
|
+SYMLINK="${PREFIX}/bin/tf"
|
|
|
|
+SYMLINKTARGET="tf-${TFVER}"
|
1998-04-26 07:43:36 +02:00
|
|
|
|
|
|
|
|
|
|
|
### Manual Page.
|
2011-08-18 07:03:10 +02:00
|
|
|
@@ -44,8 +46,8 @@
|
1998-04-26 07:43:36 +02:00
|
|
|
# uses nroff format; set MANTYPE=cat if your man uses pre-formatted
|
|
|
|
# vt100 "catman" pages. Default is "cat".
|
|
|
|
|
|
|
|
-# MANTYPE="nroff"
|
|
|
|
-# MANPAGE="/usr/local/man/man1/tf.1"
|
|
|
|
+MANTYPE="nroff"
|
2011-08-18 07:03:10 +02:00
|
|
|
+MANPAGE="${PREFIX}/${PKGMANDIR}/man1/tf.1"
|
1998-04-26 07:43:36 +02:00
|
|
|
|
|
|
|
|
|
|
|
### Flags.
|
2011-08-18 07:03:10 +02:00
|
|
|
@@ -111,7 +113,8 @@ FLAGS=''
|
2002-12-12 22:02:58 +01:00
|
|
|
|
|
|
|
# CC=cc
|
|
|
|
# CCFLAGS="-g"
|
|
|
|
-
|
|
|
|
+CC="${CC}"
|
|
|
|
+CCFLAGS="${CFLAGS}"
|
|
|
|
|
|
|
|
### Stripping.
|
|
|
|
# tfconfig will use "strip" on the tf binary unless you tell it otherwise.
|