Fix package name: the pattern that gets replaced with the actual version

string at build time had been replaced by a version string from a test
version.

Reported by:	herbert@gojira.at (Herbert J. Skuhra)
Approved by:	antoine (implicit)
This commit is contained in:
Stefan Eßer 2018-01-02 14:26:20 +00:00
parent fcce082336
commit dc24a9071d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=457859

View File

@ -1,14 +1,5 @@
--- portmaster.orig 2017-12-21 09:02:44 UTC
+++ portmaster
@@ -51,7 +51,7 @@ fi
#=============== Begin functions we always want to have ===============
version () {
- local pkgname="%%PKGNAME%%"
+ local pkgname="portmaster-3.18_4"
echo '' ; echo "===>>> Version ${pkgname##*-}"
#svn='$FreeBSD: user/dougb/portmaster/portmaster 241090 2012-10-01 08:32:05Z dougb $'
}
@@ -113,13 +113,13 @@ kill_bad_children () {
[ "$pid" -gt 25 ] || continue
case "$ppid" in