pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/daemontools Ensure that DJB_ERRNO_HACK and an...
details: https://anonhg.NetBSD.org/pkgsrc/rev/22dc6c1c239a
branches: trunk
changeset: 493948:22dc6c1c239a
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Tue May 17 08:41:36 2005 +0000
description:
Ensure that DJB_ERRNO_HACK and any other configure-time actions
apply, by setting ${WRKSRC} appropriately during the "configure"
phase. This had been the only usage of DJB_CONFIG_DIR.
Fixes build on glibc>=2.3.1 systems, otherwise no visible change.
diffstat:
sysutils/daemontools/Makefile | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r e9acff434fa9 -r 22dc6c1c239a sysutils/daemontools/Makefile
--- a/sysutils/daemontools/Makefile Tue May 17 07:23:29 2005 +0000
+++ b/sysutils/daemontools/Makefile Tue May 17 08:41:36 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2005/04/11 21:47:23 tv Exp $
+# $NetBSD: Makefile,v 1.23 2005/05/17 08:41:36 schmonz Exp $
DISTNAME= daemontools-0.76
CATEGORIES= sysutils
@@ -16,10 +16,14 @@
PKG_INSTALLATION_TYPES= overwrite pkgviews
+.if defined(PKG_PHASE) && ${PKG_PHASE} == "configure"
+WRKSRC= ${WRKDIR}/admin/${DISTNAME}/src
+.else
+WRKSRC= ${WRKDIR}/admin/${DISTNAME}
+.endif
SAMPLERC= svscan.sh.sample
SERVICEDIR?= ${VARBASE}/spool/service
-WRKSRC= ${WRKDIR}/admin/${DISTNAME}
CMDDIR= ${WRKSRC}/command
PLIST_SUBST+= SERVICEDIR=${SERVICEDIR}
@@ -27,8 +31,6 @@
INSTALLATION_DIRS= bin man man/man8 share/examples/daemontools
-DJB_CONFIG_DIR= ${WRKSRC}/src
-
do-build:
cd ${WRKSRC} && package/compile
Home |
Main Index |
Thread Index |
Old Index