mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-07 11:49:40 +00:00
Use our system shared readline vs. the included static one.
This commit is contained in:
parent
219b30185a
commit
9995ac08f9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105178
@ -26,6 +26,7 @@ USE_GMAKE= yes
|
||||
USE_REINPLACE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --program-suffix=6
|
||||
CFLAGS+= -DRL_NO_COMPAT
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
@ -45,9 +46,13 @@ post-patch:
|
||||
|
||||
do-patch: post-patch
|
||||
@${ECHO} 'FreeBSD-specific patches disabled for now, until upgraded.'
|
||||
@${REINPLACE_CMD} -e 's/^READLINE/#READLINE/' \
|
||||
-e 's/^readline/#readline/' \
|
||||
${WRKSRC}/gdb/Makefile.in
|
||||
echo 'READLINE = -lreadline' >> ${WRKSRC}/gdb/Makefile.in
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC} ; ${RM} -rf dejagnu expect sim tcl texinfo
|
||||
cd ${WRKSRC} ; ${RM} -rf dejagnu expect readline sim tcl texinfo
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb \
|
||||
|
@ -26,6 +26,7 @@ USE_GMAKE= yes
|
||||
USE_REINPLACE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --program-suffix=6
|
||||
CFLAGS+= -DRL_NO_COMPAT
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
@ -45,9 +46,13 @@ post-patch:
|
||||
|
||||
do-patch: post-patch
|
||||
@${ECHO} 'FreeBSD-specific patches disabled for now, until upgraded.'
|
||||
@${REINPLACE_CMD} -e 's/^READLINE/#READLINE/' \
|
||||
-e 's/^readline/#readline/' \
|
||||
${WRKSRC}/gdb/Makefile.in
|
||||
echo 'READLINE = -lreadline' >> ${WRKSRC}/gdb/Makefile.in
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC} ; ${RM} -rf dejagnu expect sim tcl texinfo
|
||||
cd ${WRKSRC} ; ${RM} -rf dejagnu expect readline sim tcl texinfo
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb \
|
||||
|
Loading…
x
Reference in New Issue
Block a user