mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Depend on tcl 8.4 instead of 8.2 since the latter is going to be removed
from ports - Bump PORTREVISION PR: ports/130877 Submitted by: mm
This commit is contained in:
parent
c8b578778c
commit
946a9c012b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=226806
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= gracer
|
||||
PORTVERSION= 0.1.5
|
||||
PORTREVISION= 5
|
||||
PORTREVISION= 6
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= SF
|
||||
|
||||
@ -18,13 +18,13 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib
|
||||
LIB_DEPENDS= ungif.5:${PORTSDIR}/graphics/libungif \
|
||||
png.5:${PORTSDIR}/graphics/png \
|
||||
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
||||
tcl82.1:${PORTSDIR}/lang/tcl82
|
||||
tcl84.1:${PORTSDIR}/lang/tcl84
|
||||
|
||||
USE_GL= glut
|
||||
USE_PERL5_BUILD=yes
|
||||
USE_AUTOTOOLS= autoconf:213
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
|
||||
-I${LOCALBASE}/include/tcl8.2 \
|
||||
-I${LOCALBASE}/include/tcl8.4 \
|
||||
-I${LOCALBASE}/include" \
|
||||
LIBS="-L${LOCALBASE}/lib -L${LOCALBASE}/lib"
|
||||
USE_GMAKE= yes
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
for tcl_prefix in $tcl_prefix $exec_prefix /usr/local /usr NONE; do
|
||||
- if test -r $tcl_prefix/lib/tclConfig.sh; then
|
||||
+ if test -r $tcl_prefix/lib/tcl8.2/tclConfig.sh; then
|
||||
+ if test -r $tcl_prefix/lib/tcl8.4/tclConfig.sh; then
|
||||
break;
|
||||
fi
|
||||
done
|
||||
@ -14,12 +14,12 @@
|
||||
fi
|
||||
|
||||
-file=${tcl_prefix}/lib/tclConfig.sh
|
||||
+file=${tcl_prefix}/lib/tcl8.2/tclConfig.sh
|
||||
+file=${tcl_prefix}/lib/tcl8.4/tclConfig.sh
|
||||
if test ! -r ${file}; then
|
||||
AC_MSG_ERROR(tclConfig.sh doesn't exist)
|
||||
fi
|
||||
-AC_MSG_RESULT([use tclConfig.sh in $tcl_prefix/lib])
|
||||
+AC_MSG_RESULT([use tclConfig.sh in $tcl_prefix/lib/tcl8.2])
|
||||
+AC_MSG_RESULT([use tclConfig.sh in $tcl_prefix/lib/tcl8.4])
|
||||
. $file
|
||||
|
||||
if test $TCL_MAJOR_VERSION -lt 8; then
|
||||
@ -27,7 +27,7 @@
|
||||
fi
|
||||
|
||||
-TCL_CFLAGS="-I$TCL_SRC_DIR"
|
||||
+TCL_CFLAGS="-I$tcl_prefix/include/tcl8.2"
|
||||
+TCL_CFLAGS="-I$tcl_prefix/include/tcl8.4"
|
||||
TCL_LDFLAGS="$TCL_LIB_SPEC"
|
||||
AC_SUBST(TCL_CFLAGS)
|
||||
AC_SUBST(TCL_LDFLAGS)
|
||||
|
Loading…
Reference in New Issue
Block a user