pkgsrc/net/icsi-finger/patches/patch-ah
is 4d472f8700 Update to 1.0.29
No user visible changes - basically, half a patch we had is now in the
upstream sources (no more statical initializers using stderr).
2011-11-23 16:25:07 +00:00

90 lines
2 KiB
Text

$NetBSD: patch-ah,v 1.3 2011/11/23 16:25:08 is Exp $
--- config.h.orig 2000-12-05 04:13:42.000000000 +0000
+++ config.h
@@ -12,52 +12,53 @@
*
*/
-#undef InstallCmd
-#define InstallCmd /usr/local/etc/install -c
-
-#if defined(sun) && !defined(__svr4__)
-#undef X11Dir /* use own X11R6 on old SunOS */
-#endif
-
#if defined(__linux__)
#undef __WCHAR_TYPE__
#define __WCHAR_TYPE__ unsigned long
+#endif
#undef FingerDir
#define FingerDir /var/spool/fingerdir/
-#undef X11Dir
-#define X11Dir /usr/X11R6
+#undef MugShotPath
+#define MugShotPath "/usr/pkg/images/finger"
#undef InstallCmd
#define InstallCmd /usr/bin/install -c
-#endif
-#ifndef X11Dir
-#ifndef sgi
-#define X11Dir /usr/local/X11R6
-#endif
-#endif
+#undef BinDir
+#define BinDir /usr/pkg/bin
-#ifdef bsdi
-#undef X11Dir
-#define X11Dir /usr/X11
-#undef FingerDir
-#define FingerDir /var/spool/fingerdir
-#endif
+#undef EtcDir
+#define EtcDir /usr/pkg/sbin
+
-#ifdef ultrix
-/*
- * Standard ultrix man(1) cannot handle multiple man directories.
- */
#undef ManDir
#undef ManExt
#undef Man5Ext
#undef Man8Ext
-#define ManDir /usr/man
-#define ManExt l
-#define Man5Ext l
-#define Man8Ext l
-#endif /* ultrix */
-
-/* #define USE_DBMALLOC */
+#define ManExt 1
+#define Man5Ext 5
+#define Man8Ext 8
+
+/* Binaries with names identical to standard UNIX versions may be prefixed
+ e.g., "gfinger" instead of "finger". */
+#undef BinPrefix
+#define BinPrefix g
+
+#undef HAVE_X11
+#undef HAVE_SUNVIEW
+#undef PRINT_WIDGET
+
+#undef MAILDIR
+#define MAILDIR "/var/mail"
+#define ManDir /usr/pkg/man
+#define TARGETDIR "/usr/pkg/etc/fingerdir/targets"
+#define TargetDir /usr/pkg/etc/fingerdir/targets
+#define TTYLOCFILE "/usr/pkg/etc/fingerdir/ttylocs"
+#define HOSTCONFIGFILE "/usr/pkg/etc/fingerdir/hostconfig"
+#define ManDir /usr/pkg/man
+#define TARGETDIR "/usr/pkg/etc/fingerdir/targets"
+#define TargetDir /usr/pkg/etc/fingerdir/targets
+#define TTYLOCFILE "/usr/pkg/etc/fingerdir/ttylocs"
+#define HOSTCONFIGFILE "/usr/pkg/etc/fingerdir/hostconfig"