summaryrefslogtreecommitdiff
path: root/x11/xcursor
diff options
context:
space:
mode:
authorgrant <grant>2004-07-24 06:48:51 +0000
committergrant <grant>2004-07-24 06:48:51 +0000
commit720b894ed9ba98b8b0773483ed71d2750589c8a0 (patch)
tree904d8a39f8d7cae07e96385381d482358d48d95f /x11/xcursor
parente95c21624b743970a70d1763de699ad3fdd2eb30 (diff)
downloadpkgsrc-720b894ed9ba98b8b0773483ed71d2750589c8a0.tar.gz
correctly pick up the Xcursor version in X.org.
Diffstat (limited to 'x11/xcursor')
-rw-r--r--x11/xcursor/builtin.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/x11/xcursor/builtin.mk b/x11/xcursor/builtin.mk
index db2aa2ba2de..efb56f4eb37 100644
--- a/x11/xcursor/builtin.mk
+++ b/x11/xcursor/builtin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.3 2004/03/29 05:43:36 jlam Exp $
+# $NetBSD: builtin.mk,v 1.4 2004/07/24 06:48:51 grant Exp $
_X11_XCURSOR_XCURSOR_H= ${X11BASE}/include/X11/Xcursor/Xcursor.h
@@ -13,13 +13,13 @@ IS_BUILTIN.xcursor= yes
# or if the built-in one is sufficient.
#
_XCURSOR_MAJOR!= \
- ${AWK} '/\#define[ ]*XCURSOR_MAJOR/ { print $$3 }' \
+ ${AWK} '/\#define[ ]*XCURSOR_(LIB_)?MAJOR/ { print $$3 }' \
${_X11_XCURSOR_XCURSOR_H}
_XCURSOR_MINOR!= \
- ${AWK} '/\#define[ ]*XCURSOR_MINOR/ { print "."$$3 }' \
+ ${AWK} '/\#define[ ]*XCURSOR_(LIB_)?MINOR/ { print "."$$3 }' \
${_X11_XCURSOR_XCURSOR_H}
_XCURSOR_REVISION!= \
- ${AWK} '/\#define[ ]*XCURSOR_MINOR/ { print "."$$3 }' \
+ ${AWK} '/\#define[ ]*XCURSOR_(LIB_)?MINOR/ { print "."$$3 }' \
${_X11_XCURSOR_XCURSOR_H}
_XCURSOR_VERSION= ${_XCURSOR_MAJOR}${_XCURSOR_MINOR}${_XCURSOR_REVISION}
BUILTIN_PKG.xcursor= xcursor-${_XCURSOR_VERSION}