summaryrefslogtreecommitdiff
path: root/meta-pkgs
diff options
context:
space:
mode:
Diffstat (limited to 'meta-pkgs')
-rw-r--r--meta-pkgs/xorg/Makefile.common17
1 files changed, 16 insertions, 1 deletions
diff --git a/meta-pkgs/xorg/Makefile.common b/meta-pkgs/xorg/Makefile.common
index 49ac3605862..a7321f2232b 100644
--- a/meta-pkgs/xorg/Makefile.common
+++ b/meta-pkgs/xorg/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.23 2005/03/30 20:30:24 hira Exp $
+# $NetBSD: Makefile.common,v 1.24 2005/03/30 20:41:02 hira Exp $
#
# XBUILD_DIRS is the group of directories under ${WRKSRC} that will
# be built in.
@@ -293,6 +293,21 @@ do-configure:
done
. endif
+#
+# This can use for a single distfile.
+#
+. if !empty(XEXTRACTS)
+_EXTRACTS= xc/config xc/include
+. for _dir in ${XEXTRACTS}
+_EXTRACTS+= xc/${_dir}
+. endfor
+. if !target(do-extract)
+do-extract: ${WRKDIR}
+ cd ${WRKDIR} && \
+ ${GZCAT} ${DISTDIR}/${DISTFILES} | ${TAR} xf - ${_EXTRACTS}
+. endif
+. endif
+
. if !target(do-build)
do-build:
@for dir in ${XBUILD_DIRS}; do \