mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
- fix sed(1) usage
233460 Jan Beich PR: 233460 Submitted by: Jan Beich Reported by: Kyle Evans
This commit is contained in:
parent
bbfcfcafdf
commit
58514d9eca
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=485935
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user