summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2012-04-08 06:09:06 +0000
committerobache <obache@pkgsrc.org>2012-04-08 06:09:06 +0000
commit0e9de2a8c095f49d05fb2b5fba423d9578d2a666 (patch)
tree12f7c307a2e3b01e87c34e9f1eb1325b2365d8d3
parent66a022920da7f177a9827766491fbb40ade42a96 (diff)
downloadpkgsrc-0e9de2a8c095f49d05fb2b5fba423d9578d2a666.tar.gz
Fix reverse condition, rewrite of X11BASE => BUILDLINK_X11_DIR are required for
X11_TYPE!=modular.
-rw-r--r--mk/buildlink3/bsd.buildlink3.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/buildlink3/bsd.buildlink3.mk b/mk/buildlink3/bsd.buildlink3.mk
index 9ed34c98ce2..6750e570038 100644
--- a/mk/buildlink3/bsd.buildlink3.mk
+++ b/mk/buildlink3/bsd.buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink3.mk,v 1.210 2012/01/17 22:19:22 sbd Exp $
+# $NetBSD: bsd.buildlink3.mk,v 1.211 2012/04/08 06:09:06 obache Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -732,7 +732,7 @@ _BLNK_LT_ARCHIVE_FILTER_SED_SCRIPT.${_pkg_}+= \
-e "/^libdir=/s,/usr\(/lib/[^${_BLNK_SEP}]*\),${BUILDLINK_DIR}\\1,g" \
-e "/^libdir=/s,${DEPOTBASE}/[^/${_BLNK_SEP}]*\(/[^${_BLNK_SEP}]*\),${BUILDLINK_DIR}\\1,g"
-. if ${X11_TYPE} == "modular"
+. if ${X11_TYPE} != "modular"
_BLNK_LT_ARCHIVE_FILTER_SED_SCRIPT.${_pkg_}+= \
-e "/^libdir=/s,${X11BASE}\(/[^${_BLNK_SEP}]*\),${BUILDLINK_X11_DIR}\\1,g"
. endif