Ops! patch-src_Makefile_in contains a CVS id: replace it with a perl

workaround
This commit is contained in:
dcoppa 2010-06-17 09:17:52 +00:00
parent 398585ab36
commit f833f543bb
2 changed files with 3 additions and 14 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.91 2010/06/17 07:42:16 dcoppa Exp $
# $OpenBSD: Makefile,v 1.92 2010/06/17 09:17:52 dcoppa Exp $
SHARED_ONLY= Yes
@ -6,7 +6,7 @@ COMMENT-main= VideoLAN client; multimedia player
V= 1.0.6
DISTNAME= vlc-${V}
PKGNAME-main= ${DISTNAME}p2
PKGNAME-main= ${DISTNAME}p3
CATEGORIES= x11
MASTER_SITES= http://download.videolan.org/pub/videolan/vlc/${V}/
EXTRACT_SUFX= .tar.bz2
@ -166,6 +166,7 @@ PKG_ARGS+=-Di386=0
pre-configure:
${SUBST_CMD} ${WRKSRC}/configure.ac
@perl -pi -e 's/grep -v /grep -av /' ${WRKSRC}/src/Makefile.in
post-install:
.for _img in 16x16 32x32 48x48 128x128

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-src_Makefile_in,v 1.1 2010/06/17 07:42:16 dcoppa Exp $
--- src/Makefile.in.orig Mon Jun 7 11:22:23 2010
+++ src/Makefile.in Mon Jun 7 11:22:30 2010
@@ -3609,7 +3609,7 @@ uninstall-am: uninstall-libLTLIBRARIES uninstall-pkgco
cat $(top_srcdir)/COPYING | sed s/'"'/'\\"'/g | $(AWK) '{ print "\""$$0"\\n\"" }' >> "$@.tmp"
echo ";" >> "$@.tmp"
echo "static const char psz_thanks[] =" >> "$@.tmp"
- grep -v '$$Id: patch-src_Makefile_in,v 1.1 2010/06/17 07:42:16 dcoppa Exp $(top_srcdir)/THANKS | sed s/'"'/'\\"'/g | $(AWK) '{ print "\""$$0"\\n\"" }'|sed s/"<.*.> "// >> "$@.tmp"
+ grep -av '$$Id: patch-src_Makefile_in,v 1.1 2010/06/17 07:42:16 dcoppa Exp $(top_srcdir)/THANKS | sed s/'"'/'\\"'/g | $(AWK) '{ print "\""$$0"\\n\"" }'|sed s/"<.*.> "// >> "$@.tmp"
echo ";" >> "$@.tmp"
echo "static const char psz_authors[] =" >> "$@.tmp"
grep N: $(top_srcdir)/AUTHORS | cut -d" " -f 2- | sed s/'"'/'\\"'/g | $(AWK) '{ print "\""$$0"\\n\"" }' >> "$@.tmp"