Date: Mon, 26 Nov 2018 09:43:29 +0000 (UTC) From: Dirk Meyer <dinoex@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r485935 - head/net/miniupnpc/files Message-ID: <201811260943.wAQ9hTId074065@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dinoex Date: Mon Nov 26 09:43:28 2018 New Revision: 485935 URL: https://svnweb.freebsd.org/changeset/ports/485935 Log: - fix sed(1) usage 233460 Jan Beich PR: 233460 Submitted by: Jan Beich Reported by: Kyle Evans Modified: head/net/miniupnpc/files/patch-Makefile Modified: head/net/miniupnpc/files/patch-Makefile ============================================================================== --- head/net/miniupnpc/files/patch-Makefile Mon Nov 26 09:30:34 2018 (r485934) +++ head/net/miniupnpc/files/patch-Makefile Mon Nov 26 09:43:28 2018 (r485935) @@ -20,3 +20,12 @@ PKGCONFIGDIR = $(INSTALLDIRLIB)/pkgconfig FILESTOINSTALL = $(LIBRARY) $(EXECUTABLES) +@@ -229,7 +228,7 @@ distclean: clean + + updateversion: miniupnpc.h + cp miniupnpc.h miniupnpc.h.bak +- sed 's/\(.*MINIUPNPC_API_VERSION\s\+\)[0-9]\+/\1$(APIVERSION)/' < miniupnpc.h.bak > miniupnpc.h ++ sed -E 's/(.*MINIUPNPC_API_VERSION[[:space:]]+)[0-9]+/\1$(APIVERSION)/' < miniupnpc.h.bak > miniupnpc.h + + install: updateversion $(FILESTOINSTALL) + $(INSTALL) -d $(DESTDIR)$(INSTALLDIRINC)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811260943.wAQ9hTId074065>