Fix gnuchess support
Submitted by: "Holger Kipp" <hk@intserv.int1.b.intern>
This commit is contained in:
parent
a083ec4091
commit
f81df7e27c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=84101
1 changed files with 5 additions and 3 deletions
|
@ -24,17 +24,19 @@ GNU_CONFIGURE= yes
|
|||
CONFIGURE_ENV= PTHREAD_LIBS=${PTHREAD_LIBS} \
|
||||
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
|
||||
USE_AUTOMAKE_VER= 14
|
||||
USE_REINPLACE= yes
|
||||
|
||||
MAN6= ${PORTNAME}.6
|
||||
|
||||
pre-patch:
|
||||
@${PERL} -pi.orig -e 's!/usr/local/share/games/glchess!${DATADIR}!' \
|
||||
@${REINPLACE_CMD} -e 's!/usr/local/share/games/glchess!${DATADIR}!' \
|
||||
${WRKSRC}/glchessrc
|
||||
@${PERL} -pi.orig -e 's!/etc!${PREFIX}/etc!' \
|
||||
@${REINPLACE_CMD} -e 's!/etc!${PREFIX}/etc!' \
|
||||
${WRKSRC}/src/config.c
|
||||
@${PERL} -pi.orig -e 's|^aclocal|${ACLOCAL}|; \
|
||||
@${REINPLACE_CMD} -e 's|^aclocal|${ACLOCAL}|; \
|
||||
s|^autoconf|${AUTOCONF}|; s|^automake|${AUTOMAKE}|' \
|
||||
${WRKSRC}/autogen.sh
|
||||
@${REINPLACE_CMD} -e 's|"gnuchessx"|"gnuchess"|' ${WRKSRC}/src/main.c
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC}; ${SH} autogen.sh
|
||||
|
|
Loading…
Reference in a new issue