Index: head/devel/readline/Makefile =================================================================== --- head/devel/readline/Makefile (revision 453181) +++ head/devel/readline/Makefile (revision 453182) @@ -1,45 +1,50 @@ # Created by: Frank Laszlo # $FreeBSD$ PORTNAME= readline PORTVERSION= 7.0.${PATCHLEVEL} +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= GNU DISTNAME= ${PORTNAME}-${PORTVERSION:R} PATCH_SITES= GNU/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}-patches MAINTAINER= sunpoet@FreeBSD.org COMMENT= Library for editing command lines as they are typed LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING OPTIONS_DEFINE= TERMCAP DOCS OPTIONS_DEFAULT=TERMCAP TERMCAP_DESC= Link against libtermcap GNU_CONFIGURE= yes USE_LDCONFIG= yes USES= cpe INFO= history readline rluserman PORTDOCS= CHANGES INSTALL README CPE_VENDOR= gnu CPE_VERSION= ${PORTVERSION:R} CPE_UPDATE= ${PATCHLEVEL} PATCHES= 1 2 3 PATCHLEVEL= ${PATCHES:O:[-1]} .for patch in ${PATCHES} PATCHFILES+= ${PORTNAME}${PORTVERSION:R:S|.||}-${patch:S|^|00|:S|.*(...)$|\1|} .endfor post-patch-TERMCAP-on: + # Comment out "Requires.private: tinfo" line since we do not have tinfo.pc in base system. + # See PR/223130 for details. + @${REINPLACE_CMD} -e '/^Requires.private: tinfo/ s|^|#|' ${WRKSRC}/readline.pc.in @${REINPLACE_CMD} -e '/SHOBJ_LDFLAGS = / s| = |&-ltermcapw |' ${WRKSRC}/shlib/Makefile.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 Index: head/devel/readline/pkg-plist =================================================================== --- head/devel/readline/pkg-plist (revision 453181) +++ head/devel/readline/pkg-plist (revision 453182) @@ -1,31 +1,32 @@ include/readline/chardefs.h include/readline/history.h include/readline/keymaps.h include/readline/readline.h include/readline/rlconf.h include/readline/rlstdc.h include/readline/rltypedefs.h include/readline/tilde.h lib/libhistory.a lib/libhistory.so lib/libhistory.so.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 %%DATADIR%%/fileman.c %%DATADIR%%/hist_erasedups.c %%DATADIR%%/hist_purgecmd.c %%DATADIR%%/histexamp.c %%DATADIR%%/manexamp.c %%DATADIR%%/rl-callbacktest.c %%DATADIR%%/rl-fgets.c %%DATADIR%%/rl.c %%DATADIR%%/rlbasic.c %%DATADIR%%/rlcat.c %%DATADIR%%/rlevent.c %%DATADIR%%/rlptytest.c %%DATADIR%%/rltest.c %%DATADIR%%/rlversion.c