summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authorjoerg <joerg>2006-03-02 19:15:37 +0000
committerjoerg <joerg>2006-03-02 19:15:37 +0000
commit797d76b5b8231d3a116fe531f0ada5c384b9dadf (patch)
treefea4b2ad73a24e341cbb6b8bba89108126707d81 /mk/bsd.pkg.mk
parent770dbeb740064153969951623a3fc58c1ad7447d (diff)
downloadpkgsrc-797d76b5b8231d3a116fe531f0ada5c384b9dadf.tar.gz
Make GNU_CONFIGURE_PREFIX the default prefix for GNU_CONFIGURE_MANDIR
and GNU_CONFIGURE_INFODIR. Add the latter for symmetry.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index b6accfb89e1..fff83bbbab6 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1799 2006/02/18 15:37:22 rillig Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1800 2006/03/02 19:15:37 joerg Exp $
#
# This file is in the public domain.
#
@@ -584,12 +584,13 @@ CONFIGURE_ARGS+= --host=${MACHINE_GNU_PLATFORM:Q}
. endif
CONFIGURE_HAS_INFODIR?= yes
+GNU_CONFIGURE_INFODIR?= ${GNU_CONFIGURE_PREFIX}/${INFO_DIR}
. if !empty(INFO_FILES) && !empty(CONFIGURE_HAS_INFODIR:M[yY][eE][sS])
-CONFIGURE_ARGS+= --infodir=${PREFIX}/${INFO_DIR}
+CONFIGURE_ARGS+= --infodir=${GNU_CONFIGURE_INFODIR:Q}
. endif
CONFIGURE_HAS_MANDIR?= yes
-GNU_CONFIGURE_MANDIR?= ${PREFIX}/${PKGMANDIR}
+GNU_CONFIGURE_MANDIR?= ${GNU_CONFIGURE_PREFIX}/${PKGMANDIR}
. if !empty(CONFIGURE_HAS_MANDIR:M[yY][eE][sS])
CONFIGURE_ARGS+= --mandir=${GNU_CONFIGURE_MANDIR:Q}
. endif