Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161654680
D2295.id4838.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D2295.id4838.diff
View Options
Index: UPDATING
===================================================================
--- UPDATING
+++ UPDATING
@@ -31,6 +31,11 @@
disable the most expensive debugging functionality run
"ln -s 'abort:false,junk:false' /etc/malloc.conf".)
+20150416:
+ Libraries specified by LIBADD in Makefiles must have a corresponding
+ DPADD_<lib> variable to ensure correct dependencies. This is now
+ enforced in src.libnames.mk.
+
20150324:
From legacy ata(4) driver was removed support for SATA controllers
supported by more functional drivers ahci(4), siis(4) and mvs(4).
Index: share/mk/src.libnames.mk
===================================================================
--- share/mk/src.libnames.mk
+++ share/mk/src.libnames.mk
@@ -282,10 +282,14 @@
.if ${_PRIVATELIBS:M${_l}}
USEPRIVATELIB+= ${_l}
.endif
-DPADD+= ${DPADD_${_l}}
+DPADD+= ${DPADD_${_l}:Umissing-dpadd_${_l}}
LDADD+= ${LDADD_${_l}}
.endfor
+.if defined(DPADD) && ${DPADD:Mmissing-dpadd_*}
+.error Missing ${DPADD:Mmissing-dpadd_*:S/missing-dpadd_//:S/^/DPADD_/} variable add "${DPADD:Mmissing-dpadd_*:S/missing-dpadd_//}" to _LIBRARIES, _INTERNALLIBS, or _PRIVATELIBS and define "${DPADD:Mmissing-dpadd_*:S/missing-dpadd_//:S/^/LIB/:tu}".
+.endif
+
.if defined(USEPRIVATELIB)
LDFLAGS+= -rpath ${LIBPRIVATEDIR}
.endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jul 6, 3:51 PM (11 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34761367
Default Alt Text
D2295.id4838.diff (1 KB)
Attached To
Mode
D2295: Error check LIBADD values.
Attached
Detach File
Event Timeline
Log In to Comment