Do not hardcode /usr/local.

Do not use SYSCONFDIR for base system etc files.
This commit is contained in:
ajacoutot 2014-01-11 12:56:41 +00:00
parent 76c658ad9d
commit 5e491b9097
10 changed files with 32 additions and 31 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.5 2013/03/11 10:50:11 espie Exp $
# $OpenBSD: Makefile,v 1.6 2014/01/11 12:56:41 ajacoutot Exp $
COMMENT = development environment for native Windows applications
V = 1.0.1
REVISION = 2
REVISION = 3
BASENAME = x86-mingw32-build
DISTNAME = ${BASENAME}-${V}-sh
PKGNAME = mingw-${V}

View File

@ -1,4 +1,4 @@
$OpenBSD: README,v 1.3 2012/04/02 03:18:17 jeremy Exp $
$OpenBSD: README,v 1.4 2014/01/11 12:56:41 ajacoutot Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
@ -8,7 +8,7 @@ Environment Setup
=================
Set the mingw32 binary path before all the others. Like so:
$ export PATH=/usr/local/mingw32/bin:${PATH}
$ export PATH=${PREFIX}/mingw32/bin:${PATH}
Generating PE files
===================

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.30 2013/11/05 04:45:18 stu Exp $
# $OpenBSD: Makefile,v 1.31 2014/01/11 12:56:41 ajacoutot Exp $
COMMENT = Tool Command Language
DISTNAME = tcl8.5.15
PKGNAME = tcl-8.5.15
REVISION = 1
REVISION = 2
SHARED_LIBS = tcl85 1.5
CATEGORIES = lang lang/tcl
HOMEPAGE = http://www.tcl.tk/

View File

@ -1,4 +1,4 @@
$OpenBSD: README,v 1.6 2013/07/16 02:48:05 stu Exp $
$OpenBSD: README,v 1.7 2014/01/11 12:56:41 ajacoutot Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
@ -9,7 +9,7 @@ deriving the maximum value from the original software while keeping
any modifications to a minimum.
This document describes these differences and includes a handy guide
and patch for adding Tcl and Tk to ${SYSCONFDIR}/man.conf.
and patch for adding Tcl and Tk to /etc/man.conf.
Principally, the original install locations have been altered to enable
installing multiple versions of Tcl and Tk on OpenBSD without conflict.
@ -95,7 +95,7 @@ is created in order to satisfy libtool.
Manual Page Configuration
=========================
Changes to ${SYSCONFDIR}/man.conf are required so that OpenBSD's man(1) and
Changes to /etc/man.conf are required so that OpenBSD's man(1) and
related commands can find the Tcl and Tk manual pages.
Additional _whatdb entries are needed which point to the Tcl and Tk
@ -104,7 +104,7 @@ added to the _default and n sections. Additional sections tcl and tk
point to the Tcl and Tk manual page directories.
Following this text is a patch (with instructions) that will perform
the aforementioned changes on an unmodified ${SYSCONFDIR}/man.conf.
the aforementioned changes on an unmodified /etc/man.conf.
If not used directly it can serve as a guide.
Tcl/Tk Resources
@ -116,11 +116,11 @@ Wikibook: http://en.wikibooks.org/wiki/Programming:Tcl
Book: Practical Programming in Tcl and Tk, 4th Edition
ISBN: 0-13-038560-3
Patch to add Tcl and Tk to ${SYSCONFDIR}/man.conf
=========================================
Patch to add Tcl and Tk to /etc/man.conf
========================================
Run:
$ patch -o man.conf.new ${SYSCONFDIR}/man.conf ${_README_DIR}/${FULLPKGNAME}
Examine and install as ${SYSCONFDIR}/man.conf if it appeases you.
$ patch -o man.conf.new /etc/man.conf ${_README_DIR}/${FULLPKGNAME}
Examine and install as /etc/man.conf if it appeases you.
@@ -7,6 +7,8 @@
_whatdb /usr/share/man/whatis.db

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.9 2013/11/04 16:30:46 stu Exp $
# $OpenBSD: Makefile,v 1.10 2014/01/11 12:56:41 ajacoutot Exp $
COMMENT = Tool Command Language
DISTNAME = tcl8.6.1
PKGNAME = tcl-8.6.1
REVISION = 1
REVISION = 2
SHARED_LIBS = tcl86 0.1
CATEGORIES = lang lang/tcl
HOMEPAGE = http://www.tcl.tk/

View File

@ -1,4 +1,4 @@
$OpenBSD: README,v 1.2 2013/07/16 02:48:45 stu Exp $
$OpenBSD: README,v 1.3 2014/01/11 12:56:41 ajacoutot Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
@ -9,7 +9,7 @@ deriving the maximum value from the original software while keeping
any modifications to a minimum.
This document describes these differences and includes a handy guide
and patch for adding Tcl and Tk to ${SYSCONFDIR}/man.conf.
and patch for adding Tcl and Tk to /etc/man.conf.
Principally, the original install locations have been altered to enable
installing multiple versions of Tcl and Tk on OpenBSD without conflict.
@ -95,7 +95,7 @@ is created in order to satisfy libtool.
Manual Page Configuration
=========================
Changes to ${SYSCONFDIR}/man.conf are required so that OpenBSD's man(1) and
Changes to /etc/man.conf are required so that OpenBSD's man(1) and
related commands can find the Tcl and Tk manual pages.
Additional _whatdb entries are needed which point to the Tcl and Tk
@ -104,7 +104,7 @@ added to the _default and n sections. Additional sections tcl and tk
point to the Tcl and Tk manual page directories.
Following this text is a patch (with instructions) that will perform
the aforementioned changes on an unmodified ${SYSCONFDIR}/man.conf.
the aforementioned changes on an unmodified /etc/man.conf.
If not used directly it can serve as a guide.
Tcl/Tk Resources
@ -116,11 +116,11 @@ Wikibook: http://en.wikibooks.org/wiki/Programming:Tcl
Book: Practical Programming in Tcl and Tk, 4th Edition
ISBN: 0-13-038560-3
Patch to add Tcl and Tk to ${SYSCONFDIR}/man.conf
=========================================
Patch to add Tcl and Tk to /etc/man.conf
========================================
Run:
$ patch -o man.conf.new ${SYSCONFDIR}/man.conf ${_README_DIR}/${FULLPKGNAME}
Examine and install as ${SYSCONFDIR}/man.conf if it appeases you.
$ patch -o man.conf.new /etc/man.conf ${_README_DIR}/${FULLPKGNAME}
Examine and install as /etc/man.conf if it appeases you.
@@ -7,6 +7,8 @@
_whatdb /usr/share/man/whatis.db

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.69 2013/11/09 18:22:02 zhuk Exp $
# $OpenBSD: Makefile,v 1.70 2014/01/11 12:56:41 ajacoutot Exp $
COMMENT = base binaries for TeXLive typesetting distribution
DISTNAME = texlive-${DIST_V}-source
PKGNAME = texlive_base-${V}
REVISION = 1
REVISION = 2
DISTFILES = ${DISTNAME}${EXTRACT_SUFX} \
texlive-${DIST_V}-extra${EXTRACT_SUFX}

View File

@ -1,4 +1,4 @@
$OpenBSD: README,v 1.9 2013/05/29 20:04:13 zhuk Exp $
$OpenBSD: README,v 1.10 2014/01/11 12:56:41 ajacoutot Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
@ -57,7 +57,7 @@ Due to inconsistencies in the legacy TeX Live 2009 package, if you
upgraded from TeX live 2009 (at some point in the past) you may see the
package tools complain about non-empty directories. This is harmless,
but can be silenced by (having backed up anything manually added to
texmfs) removing all TeX Live packages, then `rm -Rf /usr/local/share/texmf*`.
texmfs) removing all TeX Live packages, then `rm -Rf ${LOCALBASE}/share/texmf*`.
Now you can install afresh the new TeX Live packages.
Other Misc. Notes

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.36 2014/01/08 20:28:54 brad Exp $
# $OpenBSD: Makefile,v 1.37 2014/01/11 12:56:41 ajacoutot Exp $
COMMENT = web based groupware server
VERSION = 2.1.1
DISTNAME = SOGo-${VERSION}b
PKGNAME = sogo-${VERSION}.1
REVISION = 0
SHARED_LIBS += GDLContentStore 2.0
SHARED_LIBS += NGCards 2.0

View File

@ -1,4 +1,4 @@
# $OpenBSD: README,v 1.10 2014/01/03 18:39:51 sebastia Exp $
# $OpenBSD: README,v 1.11 2014/01/11 12:56:41 ajacoutot Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
@ -184,7 +184,7 @@ sogod WOWorkersCount 4
sogod SOGoDraftsFolderName INBOX.Drafts
sogod SOGoTrashFolderName INBOX.Trash
sogod SOGoSentFolderName INBOX.Sent
sogod SOGoZipPath /usr/local/bin/zip
sogod SOGoZipPath ${LOCALBASE}/bin/zip
Upgrading from older SOGo versions
========================================