opnsense: SRCVERSION magic
Expansion works from Makefile.inc so use it.
This commit is contained in:
parent
6bdd4b69dd
commit
023f0d4d73
2 changed files with 5 additions and 1 deletions
|
|
@ -3,3 +3,7 @@ THIS_CATEGORY= opnsense
|
|||
VALID_CATEGORIES=${THIS_CATEGORY}
|
||||
CATEGORIES:= ${THIS_CATEGORY} ${CATEGORIES}
|
||||
PKGORIGIN= ${.CURDIR:S/${PORTSDIR}\///1}
|
||||
|
||||
.if "${SRCVERSION}" != ""
|
||||
DISTVERSION!= eval export $$(${SH} ${SRC_BASE}/sys/conf/newvers.sh -V RELEASE) && echo $${RELEASE}
|
||||
.endif
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
PORTNAME= netmap-bridge
|
||||
DISTVERSION!= eval export $$(sh /usr/src/sys/conf/newvers.sh -V RELEASE) && echo $${RELEASE}
|
||||
SRCVERSION= yes
|
||||
CATEGORIES= sysutils
|
||||
DISTFILES=
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue