openbsd-ports/print/gv/patches/patch-config_Unix
pvalchev 288b26e0f4 Disable gv's own setenv/getenv functions which are broken on most
OpenBSD architectures and use the system ones instead.
Bump PKGNAME
10x to various people who tested, brad OK
2002-10-28 00:27:54 +00:00

28 lines
1.3 KiB
Plaintext

$OpenBSD: patch-config_Unix,v 1.2 2002/10/28 00:27:54 pvalchev Exp $
--- config.Unix.orig Fri Jun 6 16:00:00 1997
+++ config.Unix Sun Oct 27 12:21:36 2002
@@ -32,10 +32,10 @@ XCOMM ##################################
XCOMM --------------------------------------------------------------------
XCOMM Destination directories.
XCOMM --------------------------------------------------------------------
- GV_BINDIR = /usr/local/bin/
- GV_DOCDIR = /usr/local/doc/gv/
- GV_LIBDIR = /usr/local/lib/gv/
- GV_MANDIR = /usr/local/man/man1/
+ GV_BINDIR = $(BINDIR)
+ GV_DOCDIR = $(DOCDIR)/gv/
+ GV_LIBDIR = $(LIBDIR)/gv/
+ GV_MANDIR = $(MANDIR)
XCOMM --------------------------------------------------------------------
XCOMM --- The name of the Xaw3d library.
@@ -110,7 +110,7 @@ XCOMM ----------------------------------
XCOMM --------------------------------------------------------------------
XCOMM --- Use extra code for setenv() and getenv() ?
XCOMM --------------------------------------------------------------------
-#if !defined(LinuxArchitecture) && !defined(FreeBSDArchitecture)
+#if !defined(LinuxArchitecture) && !defined(FreeBSDArchitecture) && !defined(OpenBSDArchitecture)
# define USE_SETENV_CODE
#endif