summaryrefslogtreecommitdiff
path: root/meta-pkgs
diff options
context:
space:
mode:
authorhira <hira>2005-03-30 20:41:02 +0000
committerhira <hira>2005-03-30 20:41:02 +0000
commit1b0076e93f98dda6f016b6b66954f8209879da59 (patch)
tree87105b3508894484bb8efef6783e0e24128d4c1d /meta-pkgs
parent563cfc580b606a80d55122ac6cf4c7fce8a0de08 (diff)
downloadpkgsrc-1b0076e93f98dda6f016b6b66954f8209879da59.tar.gz
Don't extract unnecessary part for build. OK'd by xtraeme@.
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 \