FreeBSD Bugzilla – Attachment 42261 Details for
Bug 65926
Allow to use only numbers in PORTREVISION/PORTEPOCH
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 804 bytes, created by
Kirill Ponomarev
on 2004-04-24 06:40:13 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Kirill Ponomarev
Created:
2004-04-24 06:40:13 UTC
Size:
804 bytes
patch
obsolete
>Index: bsd.port.mk >=================================================================== >RCS file: /home/pcvs/ports/Mk/bsd.port.mk,v >retrieving revision 1.488 >diff -u -r1.488 bsd.port.mk >--- bsd.port.mk 19 Apr 2004 23:39:52 -0000 1.488 >+++ bsd.port.mk 20 Apr 2004 10:50:25 -0000 >@@ -972,14 +972,24 @@ > .endif > .endif > >-PORTREVISION?= 0 >+.if defined(PORTREVISION) > .if ${PORTREVISION} != 0 >+.if ${PORTREVISION:M*[0-9]*}x !=x > _SUF1= _${PORTREVISION} >+.else >+BROKEN= "PORTREVISION should contain only numbers." >+.endif >+.endif > .endif > >-PORTEPOCH?= 0 >+.if defined(PORTEPOCH) > .if ${PORTEPOCH} != 0 >+.if ${PORTEPOCH:M*[0-9]*}x !=x > _SUF2= ,${PORTEPOCH} >+.else >+BROKEN= "PORTEPOCH should contain only numbers." >+.endif >+.endif > .endif > > # check for old, crufty, makefile types, part 2. The "else" case
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 65926
: 42261