diff options
author | Patrick Li <pat@FreeBSD.org> | 2003-07-03 05:41:16 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2003-07-03 05:41:16 +0000 |
commit | f81df7e27c17c9bda533f0c3253abdedff02d6ab (patch) | |
tree | 6aaf9cacd9ee368e04b73b7450976b1ddeee3c4a /games/glchess | |
parent | a083ec40919beefab05d9f685976e3c5393c3f27 (diff) | |
download | ports-f81df7e27c17c9bda533f0c3253abdedff02d6ab.tar.gz ports-f81df7e27c17c9bda533f0c3253abdedff02d6ab.zip |
Notes
Diffstat (limited to 'games/glchess')
-rw-r--r-- | games/glchess/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/games/glchess/Makefile b/games/glchess/Makefile index 0948f4524205..8c8e6b0ee03c 100644 --- a/games/glchess/Makefile +++ b/games/glchess/Makefile @@ -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 |