FreeBSD Bugzilla – Attachment 187327 Details for
Bug 223130
devel/readline: Add pkgconfig file (readline.pc)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Add pkgconfig file (readline.pc)
readline_install_pc.diff (text/plain), 1.46 KB, created by
Boris Samorodov
on 2017-10-20 14:32:39 UTC
(
hide
)
Description:
Add pkgconfig file (readline.pc)
Filename:
MIME Type:
Creator:
Boris Samorodov
Created:
2017-10-20 14:32:39 UTC
Size:
1.46 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 452509) >+++ Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= readline > PORTVERSION= 7.0.${PATCHLEVEL} >+PORTREVISION= 1 > CATEGORIES= devel > MASTER_SITES= GNU > DISTNAME= ${PORTNAME}-${PORTVERSION:R} >@@ -39,7 +40,17 @@ > post-patch-TERMCAP-on: > @${REINPLACE_CMD} -e '/SHOBJ_LDFLAGS = / s| = |&-ltermcapw |' ${WRKSRC}/shlib/Makefile.in > >+ # tinfo does present at base system, but there is no appropriate *.pc file. >+ # So "pkg-config --cflags readline" errors down with: >+ # Package tinfo was not found in the pkg-config search path. >+ # Perhaps you should add the directory containing `tinfo.pc' >+ # to the PKG_CONFIG_PATH environment variable >+ # Package 'tinfo', required by 'readline', not found >+ # Let's comment 'Requires.private: tinfo' line for now >+ @${REINPLACE_CMD} -e 's/Requires/#Requires/' ${WRKSRC}/readline.pc.in >+ > post-install: > ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libhistory.so.7 ${STAGEDIR}${PREFIX}/lib/libreadline.so.7 >+ ${INSTALL_DATA} ${WRKSRC}/readline.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig > > .include <bsd.port.mk> >Index: pkg-plist >=================================================================== >--- pkg-plist (revision 452509) >+++ pkg-plist (working copy) >@@ -12,6 +12,7 @@ > lib/libreadline.a > lib/libreadline.so > lib/libreadline.so.7 >+libdata/pkgconfig/readline.pc > man/man3/history.3.gz > man/man3/readline.3.gz > %%DATADIR%%/excallback.c
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 223130
: 187327