FreeBSD Bugzilla – Attachment 175352 Details for
Bug 212987
[exp-run] Mk/Uses/localbase.mk: set LIBS instead of LDFLAGS
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch (since 423014 revision)
Mk.diff (text/plain), 868 bytes, created by
lightside
on 2016-10-02 00:13:32 UTC
(
hide
)
Description:
Proposed patch (since 423014 revision)
Filename:
MIME Type:
Creator:
lightside
Created:
2016-10-02 00:13:32 UTC
Size:
868 bytes
patch
obsolete
>--- Mk.orig/Uses/localbase.mk 2016-09-30 19:24:30 UTC >+++ Mk/Uses/localbase.mk >@@ -4,7 +4,10 @@ > # > # Feature: localbase > # Usage: USES=localbase or USES=localbase:args >-# Valid ARGS: ldflags Set LDFLAGS instead of LIBS >+# Valid ARGS: ldflags (default, implicit), libs >+# >+# ldflags Add -L${LOCALBASE}/lib to LDFLAGS. >+# libs Add -L${LOCALBASE}/lib to LIBS. > # > # MAINTAINER: portmgr@FreeBSD.org > >@@ -16,12 +19,19 @@ > .if defined(_POSTMKINCLUDED) && !defined(_INCLUDE_USES_LOCALBASE_POST_MK) > _INCLUDE_USES_LOCALBASE_POST_MK=yes > >+.if empty(localbase_ARGS) >+localbase_ARGS= ldflags >+.endif >+ > CPPFLAGS+= -isystem ${LOCALBASE}/include > CFLAGS+= -isystem ${LOCALBASE}/include > CXXFLAGS+= -isystem ${LOCALBASE}/include >+ > .if ${localbase_ARGS:Mldflags} > LDFLAGS+= -L${LOCALBASE}/lib >-.else >+.endif >+ >+.if ${localbase_ARGS:Mlibs} > LIBS+= -L${LOCALBASE}/lib > .endif >
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 212987
:
175159
|
175178
|
175196
|
175201
|
175226
|
175276
|
175284
|
175352