diff options
author | joerg <joerg> | 2014-06-14 16:20:45 +0000 |
---|---|---|
committer | joerg <joerg> | 2014-06-14 16:20:45 +0000 |
commit | b7bf72e97e2bd3c60f912f3eccdf74c89b422d3c (patch) | |
tree | dd73926f70fb260d5a454334fed52302ae444cad | |
parent | 2323b7ce2c75f4497848a55451ff996b98c716dd (diff) | |
download | pkgsrc-b7bf72e97e2bd3c60f912f3eccdf74c89b422d3c.tar.gz |
Generalize the orig removal.
-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 |