FreeBSD Bugzilla – Attachment 59435 Details for
Bug 89448
[patch] bsd.port.mk: improve behavior when dealing with versioned dependencies
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1013 bytes, created by
Anton Berezin
on 2005-11-23 07:10:13 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Anton Berezin
Created:
2005-11-23 07:10:13 UTC
Size:
1013 bytes
patch
obsolete
>Index: bsd.port.mk >=================================================================== >RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v >retrieving revision 1.518 >diff -u -r1.518 bsd.port.mk >--- bsd.port.mk 8 Nov 2005 09:02:51 -0000 1.518 >+++ bsd.port.mk 23 Nov 2005 06:54:11 -0000 >@@ -4343,6 +4343,16 @@ > ${ECHO_MSG} "===> ${PKGNAME} depends on package: $$prog - not found"; \ > notfound=1; \ > fi; \ >+ if [ $$notfound != 0 ]; then \ >+ inverse_dep=`${ECHO_CMD} $$prog | ${SED} \ >+ -e 's/<=/=gt=/; s/</=ge=/; s/>=/=lt=/; s/>/=le=/' \ >+ -e 's/=gt=/>/; s/=ge=/>=/; s/=lt=/</; s/=le=/<=/'`; \ >+ pkg_info=`${PKG_INFO} -E "$$inverse_dep" || ${TRUE}`; \ >+ if [ "$$pkg_info" != "" ]; then \ >+ ${ECHO_MSG} "===> Found $$pkg_info, but you need to upgrade to $$prog."; \ >+ exit 1; \ >+ fi; \ >+ fi; \ > elif ${WHICH} "$$prog" > /dev/null 2>&1 ; then \ > ${ECHO_MSG} "===> ${PKGNAME} depends on executable: $$prog - found"; \ > if [ ${_DEPEND_ALWAYS} = 1 ]; then \
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 89448
: 59435