summaryrefslogtreecommitdiff
path: root/x11/xterm/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xterm/options.mk')
-rw-r--r--x11/xterm/options.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/x11/xterm/options.mk b/x11/xterm/options.mk
index e65964ccb42..cca686ee07d 100644
--- a/x11/xterm/options.mk
+++ b/x11/xterm/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.6 2007/10/02 15:04:53 aymeric Exp $
+# $NetBSD: options.mk,v 1.7 2007/11/23 14:23:34 bjs Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.xterm
PKG_SUPPORTED_OPTIONS= pcre xterm-luit freetype xterm-toolbar
@@ -30,7 +30,14 @@ CONFIGURE_ARGS+= --enable-freetype
CONFIGURE_ARGS+= --enable-toolbar
.endif
+###
+### XXX The configure test checks for pcreposix_regcomp in libpcreposix.
+### However, there is no such function [insofar as I can tell].
+### Moreover, libc's regex(3) functions are weak-aliased to those
+### within libc's namespace, so we should have no problems.
+###
.if !empty(PKG_OPTIONS:Mpcre)
CONFIGURE_ARGS+= --with-pcre
+CONFIGURE_ENV+= ac_cv_lib_pcreposix_pcreposix_regcomp=yes
. include "../../devel/pcre/buildlink3.mk"
.endif