summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-08-04 19:48:34 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-08-04 19:48:34 +0000
commit66d6ee1539479bbdb8f1a22bbe75fc7a83c082db (patch)
tree0eef8e13e52761306aa7ffc143612ec15bc1c792 /Mk
parentUpdate to 3.01 (diff)
- Add --x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include to
CONFIGURE_ARGS for ports setting USE_XORG. This restores the old USE_XLIB behaviour. [1] - Whitespace fixes [2] PR: ports/115098 [1] Submitted by: mm [1], miwi [2]
Notes
Notes: svn path=/head/; revision=197087
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk11
1 files changed, 7 insertions, 4 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 89437be2e871..c484a5f68663 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -604,11 +604,11 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# "man/mann/bar.n", set "MAN1=foo.1" and "MANN=bar.n".
# The available sections chars are "123456789LN".
# MAN<sect>_<lang>
-# - If your port does not install all man pages for all
-# languages in MANLANG, language specific pages for
+# - If your port does not install all man pages for all
+# languages in MANLANG, language specific pages for
# a language can be specified with this. For example,
# if the port installs foo.1 in English, Japanese, and
-# German, bar.1 in English only, and baz.3 in German
+# German, bar.1 in English only, and baz.3 in German
# only, set
# MANLANG= "" de ja
# MAN1= foo.1
@@ -1069,7 +1069,7 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# CHECKSUM_ALGORITHMS
# - Different checksum algorithms to check for verifying the
# integrity of the distfiles. The absence of the algorithm
-# in distinfo doesn't make it fail.
+# in distinfo doesn't make it fail.
# Default: md5 sha256
# NO_CHECKSUM - Don't verify the checksum. Typically used when
# when you noticed the distfile you just fetched has
@@ -2051,6 +2051,9 @@ RUN_DEPENDS+= ${X11BASE}/libdata/xorg/libraries:${X_LIBRARIES_PORT}
LIB_DEPENDS+= X11.6:${X_LIBRARIES_PORT}
. endif
. endif
+.endif
+
+.if defined(USE_XLIB) || defined(USE_XORG)
# Add explicit X options to avoid problems with false positives in configure
.if defined(GNU_CONFIGURE)
CONFIGURE_ARGS+=--x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include