FreeBSD Bugzilla – Attachment 66757 Details for
Bug 98565
[PATCH] Add PKGVERSION to bsd.port.mk
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.24 KB, created by
Michael Johnson
on 2006-06-06 01:10:15 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Michael Johnson
Created:
2006-06-06 01:10:15 UTC
Size:
1.24 KB
patch
obsolete
>Index: bsd.port.mk >=================================================================== >RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v >retrieving revision 1.533 >diff -u -r1.533 bsd.port.mk >--- bsd.port.mk 23 May 2006 21:53:18 -0000 1.533 >+++ bsd.port.mk 5 Jun 2006 23:00:53 -0000 >@@ -72,6 +72,9 @@ > # PKGNAMEPREFIX - Prefix to specify that port is language-specific, etc. > # Optional. > # PKGNAMESUFFIX - Suffix to specify compilation options. Optional. >+# PKGVERSION - Always defined as >+# ${PORTVERSION}. >+# Do not define this in your Makefile. > # UNIQUENAME - A name for your port that is globally unique. By default, > # this is set to ${LATEST_LINK} when LATEST_LINK is set, > # and to ${PKGNAMEPREFIX}${PORTNAME} otherwise. >@@ -1212,8 +1215,11 @@ > > # check for old, crufty, makefile types, part 2. The "else" case > # should have been handled in part 1, above. >+.if !defined(PKGVERSION) >+PKGVERSION= ${PORTVERSION:C/[-_,]/./g}${_SUF1}${_SUF2} >+.endif > .if !defined(PKGNAME) >-PKGNAME= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION:C/[-_,]/./g}${_SUF1}${_SUF2} >+PKGNAME= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}-${PKGVERSION} > .endif > DISTNAME?= ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION:C/:(.)/\1/g}${DISTVERSIONSUFFIX}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 98565
: 66757