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> |