aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2019-03-21 08:16:10 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2019-03-21 08:16:10 +0000
commitf8a22b21d8901fb1e1972e995b31544b93fdec8f (patch)
tree79e37222810de99c6af00c7494b51be43570895c
parent7423e8eba5a9768b7a0e338d12b34e188cc86117 (diff)
downloadports-f8a22b21d8901fb1e1972e995b31544b93fdec8f.tar.gz
ports-f8a22b21d8901fb1e1972e995b31544b93fdec8f.zip
print/lyx: Fix a bad MFH done in r496238.
That commit was only supposed to backport changes to the port's dependencies and the post-patch target, yet it changed MINOR_VERSION, WRKSRC and DISTVERSIONSUFFIX, causing make fetch, make checksum and other targets to fail. Approved by: ports-secteam (implicit)
Notes
Notes: svn path=/branches/2019Q1/; revision=496431
-rw-r--r--print/lyx/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/print/lyx/Makefile b/print/lyx/Makefile
index 6b167e926d05..9a9b49a46064 100644
--- a/print/lyx/Makefile
+++ b/print/lyx/Makefile
@@ -3,6 +3,7 @@
PORTNAME= lyx
PORTVERSION= ${MAJOR_VERSION}.${MINOR_VERSION}
+DISTVERSIONSUFFIX= -2
PORTREVISION= 3
CATEGORIES= print editors
MASTER_SITES= ftp://ftp.lyx.org/pub/lyx/stable/${MAJOR_VERSION}.x/ \
@@ -19,8 +20,10 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libboost_regex.so:devel/boost-libs \
libmythes-1.2.so:textproc/mythes
+WRKSRC= ${WRKDIR}/${DISTNAME:S,${DISTVERSIONSUFFIX}$$,,}
+
MAJOR_VERSION= 2.3
-MINOR_VERSION= 2
+MINOR_VERSION= 1
USES= compiler:c++11-lang desktop-file-utils gmake iconv pkgconfig \
perl5 python:2.7 qt:5 shebangfix tar:xz