svn commit: r485935 - head/net/miniupnpc/files
Dirk Meyer
dinoex at FreeBSD.org
Mon Nov 26 09:43:30 UTC 2018
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)
More information about the svn-ports-all
mailing list