mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
Assign DISTNAME before we append "-reference" to the parent's
PORTNAME, otherwise the parent's DISTNAME is lost.
This commit is contained in:
parent
85183605dd
commit
5dc0036a8b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=161946
@ -5,12 +5,14 @@ REFERENCE_PORT= ${PKGORIGIN:S|-reference$||}
|
||||
|
||||
.include "${PARENTDIR}/Makefile"
|
||||
|
||||
.if !defined(DISTNAME)
|
||||
DISTNAME:= ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
|
||||
.endif
|
||||
.if !defined(DOCSDIR)
|
||||
DOCSDIR:= ${PREFIX}/share/doc/${PORTNAME}
|
||||
.endif
|
||||
.if defined(DISTNAME)
|
||||
DISTNAME:= ${DISTNAME}
|
||||
.else
|
||||
DISTNAME:= ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
|
||||
.endif
|
||||
PORTNAME:= ${PORTNAME}-reference
|
||||
.if defined(LATEST_LINK)
|
||||
LATEST_LINK:= ${LATEST_LINK}-reference
|
||||
|
Loading…
Reference in New Issue
Block a user