diff options
author | joerg <joerg@pkgsrc.org> | 2014-06-14 16:20:45 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2014-06-14 16:20:45 +0000 |
commit | 2f9959536f644a77c15a13c7cef5facc7a5bab57 (patch) | |
tree | dd73926f70fb260d5a454334fed52302ae444cad /lang/go | |
parent | 9d8feb8ee91127c1f637b5acf7dad15cc9e13e14 (diff) | |
download | pkgsrc-2f9959536f644a77c15a13c7cef5facc7a5bab57.tar.gz |
Generalize the orig removal.
Diffstat (limited to 'lang/go')
-rw-r--r-- | lang/go/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/go/Makefile b/lang/go/Makefile index 0e238ebfba4..eae7b5f481b 100644 --- a/lang/go/Makefile +++ b/lang/go/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2014/05/31 13:06:47 bsiegert Exp $ +# $NetBSD: Makefile,v 1.13 2014/06/14 16:20:45 joerg Exp $ VERSION= 1.2.2 DISTNAME= go${VERSION}.src @@ -96,7 +96,7 @@ do-build: do-install: cd ${WRKSRC} && rm -rf .hgignore .hgtags pkg/obj cd ${WRKDIR} && pax -rw go ${DESTDIR}${PREFIX} - ${RM} -f ${DESTDIR}${PREFIX}/go/src/cmd/ld/elf.c.orig + find ${DESTDIR}${PREFIX}/go/src -name \*.orig -exec rm {} \; .for cmd in go gofmt cd ${DESTDIR}${PREFIX}/bin && ln -sf ../go/bin/${cmd} ${cmd} .endfor |