diff options
author | hira <hira@pkgsrc.org> | 2005-03-30 20:41:02 +0000 |
---|---|---|
committer | hira <hira@pkgsrc.org> | 2005-03-30 20:41:02 +0000 |
commit | 189930d06e2d06cbd9fae635ddf1d87d72857e37 (patch) | |
tree | 87105b3508894484bb8efef6783e0e24128d4c1d | |
parent | d71b1a0b18d3f3a26224e227dedb40903f1a753b (diff) | |
download | pkgsrc-189930d06e2d06cbd9fae635ddf1d87d72857e37.tar.gz |
Don't extract unnecessary part for build. OK'd by xtraeme@.
-rw-r--r-- | meta-pkgs/xorg/Makefile.common | 17 |
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 \ |