View | Details | Raw Unified | Return to bug 223130
Collapse All | Expand All

(-)Makefile (+11 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	readline
4
PORTNAME=	readline
5
PORTVERSION=	7.0.${PATCHLEVEL}
5
PORTVERSION=	7.0.${PATCHLEVEL}
6
PORTREVISION=	1
6
CATEGORIES=	devel
7
CATEGORIES=	devel
7
MASTER_SITES=	GNU
8
MASTER_SITES=	GNU
8
DISTNAME=	${PORTNAME}-${PORTVERSION:R}
9
DISTNAME=	${PORTNAME}-${PORTVERSION:R}
Lines 39-45 Link Here
39
post-patch-TERMCAP-on:
40
post-patch-TERMCAP-on:
40
	@${REINPLACE_CMD} -e '/SHOBJ_LDFLAGS = / s| = |&-ltermcapw |' ${WRKSRC}/shlib/Makefile.in
41
	@${REINPLACE_CMD} -e '/SHOBJ_LDFLAGS = / s| = |&-ltermcapw |' ${WRKSRC}/shlib/Makefile.in
41
42
43
	# tinfo does present at base system, but there is no appropriate *.pc file.
44
	# So "pkg-config --cflags readline" errors down with:
45
	#   Package tinfo was not found in the pkg-config search path.
46
	#   Perhaps you should add the directory containing `tinfo.pc'
47
	#   to the PKG_CONFIG_PATH environment variable
48
	#   Package 'tinfo', required by 'readline', not found
49
	# Let's comment 'Requires.private: tinfo' line for now
50
	@${REINPLACE_CMD} -e 's/Requires/#Requires/' ${WRKSRC}/readline.pc.in
51
42
post-install:
52
post-install:
43
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libhistory.so.7 ${STAGEDIR}${PREFIX}/lib/libreadline.so.7
53
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libhistory.so.7 ${STAGEDIR}${PREFIX}/lib/libreadline.so.7
54
	${INSTALL_DATA} ${WRKSRC}/readline.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig
44
55
45
.include <bsd.port.mk>
56
.include <bsd.port.mk>
(-)pkg-plist (+1 lines)
Lines 12-17 Link Here
12
lib/libreadline.a
12
lib/libreadline.a
13
lib/libreadline.so
13
lib/libreadline.so
14
lib/libreadline.so.7
14
lib/libreadline.so.7
15
libdata/pkgconfig/readline.pc
15
man/man3/history.3.gz
16
man/man3/history.3.gz
16
man/man3/readline.3.gz
17
man/man3/readline.3.gz
17
%%DATADIR%%/excallback.c
18
%%DATADIR%%/excallback.c

Return to bug 223130