pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/doxygen Workaround for "configure" issue under S...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aeec1fe32cf9
branches:  trunk
changeset: 520747:aeec1fe32cf9
user:      dsainty <dsainty%pkgsrc.org@localhost>
date:      Sat Oct 28 02:44:58 2006 +0000

description:
Workaround for "configure" issue under Solaris, where PWD is more likely
to be set to the working directory of the Pkgsrc "make" than the working
directory, because Solaris /bin/sh does not support PWD.

diffstat:

 devel/doxygen/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 65bf84bcd8d1 -r aeec1fe32cf9 devel/doxygen/Makefile
--- a/devel/doxygen/Makefile    Sat Oct 28 02:37:42 2006 +0000
+++ b/devel/doxygen/Makefile    Sat Oct 28 02:44:58 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.52 2006/10/28 02:37:42 dsainty Exp $
+# $NetBSD: Makefile,v 1.53 2006/10/28 02:44:58 dsainty Exp $
 
 DISTNAME=      doxygen-1.4.7.src
 PKGNAME=       doxygen-1.4.7
@@ -24,6 +24,13 @@
 MAKE_ENV+=             PKGSRC_CFLAGS=${CFLAGS:M*:Q}
 MAKE_FLAGS+=           MAN1DIR=${PKGMANDIR}/man1
 
+# Workaround for "configure" issue under Solaris, where PWD is more likely
+# to be set to the working directory of the Pkgsrc "make" than the working
+# directory, because Solaris /bin/sh does not support PWD.  An empty PWD
+# will also fail, because configure's "test -z $PWD" will error if PWD is
+# unset (PWD should be quoted).
+CONFIGURE_ENV+=                PWD=${WRKSRC:Q}
+
 .if exists(./descr)
 PLIST_SUBST+=  CASESENSITIVE="@comment " CASEINSENSITIVE=""
 .else



Home | Main Index | Thread Index | Old Index