summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/bsd.pkg.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 9736baf7ad5..3fbc13a36a5 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1454 2004/04/27 22:35:47 tv Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1455 2004/05/08 02:13:00 reed Exp $
#
# This file is in the public domain.
#
@@ -1305,6 +1305,9 @@ HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --x-includes=${X11BASE}/include
CONFIGURE_ARGS+= --x-libraries=${X11BASE}/lib
. endif
+. if !empty(INFO_FILES) && !defined(NO_CONFIGURE_INFODIR)
+CONFIGURE_ARGS+= --infodir=${PREFIX}/${INFO_DIR}
+. endif
#
# By default, override config.guess and config.sub for GNU configure
# packages. pkgsrc's updated versions of these scripts allows GNU