Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145516299
D3150.id7250.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
870 B
Referenced Files
None
Subscribers
None
D3150.id7250.diff
View Options
Index: head/Mk/Scripts/do-depends.sh
===================================================================
--- head/Mk/Scripts/do-depends.sh
+++ head/Mk/Scripts/do-depends.sh
@@ -140,12 +140,21 @@
fi
fi
- case ${pattern} in
- *\>*|*\<*|*=*) fct=find_package ;;
- lib*.so*) fct=find_lib ;;
- /nonexistent) fct=false ;;
- /*) fct=find_file ;;
- *) fct=find_file_path ;;
+ case ${dp_DEPTYPE} in
+ LIB_DEPENDS)
+ case ${pattern} in
+ lib*.so*) fct=find_lib ;;
+ *)
+ echo "Error: pattern ${pattern} in LIB_DEPENDS is not valid"
+ exit 1 ;;
+ esac ;;
+ *)
+ case ${pattern} in
+ *\>*|*\<*|*=*) fct=find_package ;;
+ /nonexistent) fct=false ;;
+ /*) fct=find_file ;;
+ *) fct=find_file_path ;;
+ esac ;;
esac
if ${fct} "${pattern}" ; then
continue
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 21, 8:59 PM (13 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28927644
Default Alt Text
D3150.id7250.diff (870 B)
Attached To
Mode
D3150: Split LIB_DEPENDS and the other _DEPENDS types.
Attached
Detach File
Event Timeline
Log In to Comment