From 8e3e878a3db2409e2e58a58705eff03ec0110447 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Wed, 23 Sep 2015 18:27:50 +0000 Subject: graphics/waifu2x-converter-cpp: use proper regexp Applying changes to the wrong line caused a regression. --- graphics/waifu2x-converter-cpp/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'graphics/waifu2x-converter-cpp') diff --git a/graphics/waifu2x-converter-cpp/Makefile b/graphics/waifu2x-converter-cpp/Makefile index 2268756d2b27..2b7ed7791665 100644 --- a/graphics/waifu2x-converter-cpp/Makefile +++ b/graphics/waifu2x-converter-cpp/Makefile @@ -3,7 +3,7 @@ PORTNAME= waifu2x-converter-cpp DISTVERSION= 1.0.0-237 DISTVERSIONSUFFIX= -gca65c93 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= https://aur.archlinux.org/cgit/aur.git/plain/:manpage DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ @@ -54,9 +54,9 @@ post-patch: @${REINPLACE_CMD} -e 's,-O2,,; /SYMBOL/s,-s,,' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e '/"models/s,","${DATADIR}/,' \ - -e '/CmdLine/s,${PORTVERSION:R},${DISTVERSIONFULL},' \ + -e '/CmdLine/s,[^"]*"),${DISTVERSIONFULL}"),' \ ${WRKSRC}/src/main.cpp - @${REINPLACE_CMD} -e 's,[^"]*"),${PORTNAME}"),' \ + @${REINPLACE_CMD} -e 's,${PORTNAME:C/-.*//},${PORTNAME},' \ -e 's,\(version\) [^"]*,\1 ${DISTVERSIONFULL},' \ ${WRKDIR}/${PORTNAME}.1 -- cgit v1.2.3