summaryrefslogtreecommitdiff
path: root/devel/doxygen
diff options
context:
space:
mode:
authordsainty <dsainty@pkgsrc.org>2006-10-28 02:44:58 +0000
committerdsainty <dsainty@pkgsrc.org>2006-10-28 02:44:58 +0000
commit5e13001e86e712f8fff6bced2f8a182b5fb963b2 (patch)
treeed14e07695413a76cadd44df831516da8a57a7d8 /devel/doxygen
parent8258f7dba546fb12c84118e930a6901e0cd35671 (diff)
downloadpkgsrc-5e13001e86e712f8fff6bced2f8a182b5fb963b2.tar.gz
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 (limited to 'devel/doxygen')
-rw-r--r--devel/doxygen/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/doxygen/Makefile b/devel/doxygen/Makefile
index 66061424587..e41958e7d36 100644
--- a/devel/doxygen/Makefile
+++ b/devel/doxygen/Makefile
@@ -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 @@ CONFIGURE_ARGS+= --docdir ${PREFIX}/share/doc
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