openbsd-ports/x11/fbpanel/patches/patch-configure
2010-04-13 16:28:44 +00:00

35 lines
1.4 KiB
Plaintext

$OpenBSD: patch-configure,v 1.1 2010/04/13 16:28:44 dcoppa Exp $
fix bash and system directory paths
--- configure.orig Sun Feb 21 11:05:12 2010
+++ configure Thu Apr 8 11:10:43 2010
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!${LOCALBASE}/bin/bash
export LANG="POSIX"
@@ -312,18 +312,18 @@ add_var host "stab: configure for arch" ""
add_var target "stab: configure for arch" ""
# N.B. order is important
-add_var prefix "install architecture-independent files" /usr
+add_var prefix "install architecture-independent files" ${TRUEPREFIX}
add_var eprefix "install architecture-dependent files" '$prefix'
add_var bindir "user executables" '$eprefix/bin'
add_var sbindir "system executables" '$eprefix/sbin'
add_var libexecdir "program executables" '$eprefix/libexec'
add_var libdir "object code libraries" '$eprefix/lib'
-add_var sysconfdir "read-only single-machine data" '$prefix/etc'
+add_var sysconfdir "read-only single-machine data" ${SYSCONFDIR}
add_var datadir "read-only architecture-independent data" '$prefix/share'
add_var includedir "C header files" '$prefix/include'
add_var mandir "man documentation" '$prefix/man'
add_var infodir "info documentation" '$prefix/info'
-add_var localstatedir "modifiable single-machine data in DIR" '$prefix/var'
+add_var localstatedir "modifiable single-machine data in DIR" '/var'
add_var topdir "project's top directory" '`pwd`'
add_var version "version" '`< version`'
add_feature debug "debug build" disabled