diff options
author | hira <hira> | 2005-03-30 20:41:02 +0000 |
---|---|---|
committer | hira <hira> | 2005-03-30 20:41:02 +0000 |
commit | f1eff559c7780db520b1c775a39de27c1d33ef43 (patch) | |
tree | 87105b3508894484bb8efef6783e0e24128d4c1d | |
parent | fe7ad32dab66a6931b79a142981c0c28068e92c8 (diff) | |
download | pkgsrc-f1eff559c7780db520b1c775a39de27c1d33ef43.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 \ |