aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2019-03-16 23:39:05 +0000
committerJan Beich <jbeich@FreeBSD.org>2019-03-16 23:39:05 +0000
commitdf6a9e08722b286655e46272fc3fb063cb6738a6 (patch)
treea7756cc101a430f1c4ac59d18598cfacbd925faf
parenta40f3db581066df42cfd94051b583d9502a0b1d4 (diff)
Avoid misuse of GH_TAGNAME in my ports
For snapshots based on git-describe(1) use DISTVERSIONFULL instead.
Notes
Notes: svn path=/head/; revision=495998
-rw-r--r--emulators/ppsspp/Makefile2
-rw-r--r--sysutils/android-file-transfer/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/emulators/ppsspp/Makefile b/emulators/ppsspp/Makefile
index a41bfee0df6b..de068c0a3e32 100644
--- a/emulators/ppsspp/Makefile
+++ b/emulators/ppsspp/Makefile
@@ -79,7 +79,7 @@ post-patch:
${WRKSRC}/assets/gamecontrollerdb.txt
@${REINPLACE_CMD} -e 's,/usr/share,${PREFIX}/share,' \
${WRKSRC}/UI/NativeApp.cpp
- @${REINPLACE_CMD} -e 's/"unknown"/"${GH_TAGNAME}"/' \
+ @${REINPLACE_CMD} -e 's/"unknown"/"${DISTVERSIONFULL}"/' \
${WRKSRC}/git-version.cmake
do-install:
diff --git a/sysutils/android-file-transfer/Makefile b/sysutils/android-file-transfer/Makefile
index 3662d9d4608b..15c277856718 100644
--- a/sysutils/android-file-transfer/Makefile
+++ b/sysutils/android-file-transfer/Makefile
@@ -43,7 +43,7 @@ QT5_PLIST_FILES= bin/android-file-transfer \
share/metainfo/android-file-transfer.appdata.xml
post-patch:
- @${REINPLACE_CMD} '/set.*AFT_VERSION/s/".*"/"${GH_TAGNAME}"/' \
+ @${REINPLACE_CMD} '/set.*AFT_VERSION/s/".*"/"${DISTVERSIONFULL}"/' \
${WRKSRC}/CMakeLists.txt
post-patch-CLI-off: