diff options
author | alane <alane@FreeBSD.org> | 2002-11-25 09:34:21 +0800 |
---|---|---|
committer | alane <alane@FreeBSD.org> | 2002-11-25 09:34:21 +0800 |
commit | a8228358d751c5496455b49b3f75ffc176829278 (patch) | |
tree | 376584a9053acb6dbbfedb103eac661a086a6275 /games | |
parent | e6d4e8873cad9d39296f5cb12f0e3cb3c924746c (diff) | |
download | freebsd-ports-gnome-a8228358d751c5496455b49b3f75ffc176829278.tar.gz freebsd-ports-gnome-a8228358d751c5496455b49b3f75ffc176829278.tar.zst freebsd-ports-gnome-a8228358d751c5496455b49b3f75ffc176829278.zip |
Fixed bug where port makefile attempted to bypass automake/autoconf
support mechanism. That's a no-no. Bad maintainer. Bad.
Diffstat (limited to 'games')
-rw-r--r-- | games/glchess/Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/games/glchess/Makefile b/games/glchess/Makefile index 327b3838220f..9d473601bf96 100644 --- a/games/glchess/Makefile +++ b/games/glchess/Makefile @@ -14,8 +14,6 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= pat@FreeBSD.org LIB_DEPENDS= gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea -BUILD_DEPENDS= automake14:${PORTSDIR}/devel/automake14 \ - autoconf213:${PORTSDIR}/devel/autoconf213 USE_X_PREFIX= yes USE_GNOMENG= yes @@ -25,6 +23,7 @@ USE_MESA= yes GNU_CONFIGURE= yes CONFIGURE_ENV= PTHREAD_LIBS=${PTHREAD_LIBS} \ PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" +USE_AUTOMAKE_VER= 14 MAN6= ${PORTNAME}.6 @@ -33,14 +32,12 @@ pre-patch: ${WRKSRC}/glchessrc @${PERL} -pi.orig -e 's!/etc!${PREFIX}/etc!' \ ${WRKSRC}/src/config.c - @${PERL} -pi.orig -e 's|aclocal|${ACLOCAL}|; s|autoconf|${AUTOCONF}|; \ - s|automake|${AUTOMAKE}|' ${WRKSRC}/autogen.sh + @${PERL} -pi.orig -e 's|^aclocal|${ACLOCAL}|; \ + s|^autoconf|${AUTOCONF}|; s|^automake|${AUTOMAKE}|' \ + ${WRKSRC}/autogen.sh pre-configure: - ( cd ${WRKSRC} && ${SH} autogen.sh ) - @${PERL} -pi.orig -e 's|aclocal|${ACLOCAL}|; s|autoconf|${AUTOCONF}|; \ - s|automake|${AUTOMAKE}|; s|autoheader|${AUTOHEADER}|' \ - ${WRKSRC}/configure + cd ${WRKSRC}; ${SH} autogen.sh do-install: @${MKDIR} ${DATADIR} |