1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/audio/rosegarden/files/patch-aa
Maxim Sobolev 2f6fb4ef8c - Update MASTER_SITES
- Support PREFIX properly
- Fix configure error under XFree86 4.x

PR:			23621
Submitted by:		Ports Furry
No response from:	maintainer
2000-12-19 08:34:53 +00:00

53 lines
1.2 KiB
Plaintext

--- configure.in.orig Tue Sep 21 20:25:38 1999
+++ configure.in Thu Dec 14 02:14:00 2000
@@ -67,11 +67,11 @@
Petal=Petal
-AC_CHECK_HEADER(tcl.h, TCL_CHECK=1, TCL_CHECK=0)
+TCL_CHECK=1
if test $TCL_CHECK -eq 1
then
- AC_PATH_PROG(TCLSH, tclsh)
+ AC_PATH_PROG(TCLSH, tclsh8.2)
if test -n "$TCLSH"
then
# Check Tcl version:
@@ -88,7 +88,7 @@
then
# Check for TclMIDI
AC_CHECKING(if TclMIDI is installed)
- TCL_MIDI_CHECK=`echo "package require tclmidi" | $TCLSH 2>&1`
+ TCL_MIDI_CHECK=
if test -n "$TCL_MIDI_CHECK"
then
Petal=""
@@ -153,7 +153,7 @@
*freebsd*)
defines="-DNO_SYS_ERRLIST"
AC_CHECK_HEADER(machine/soundcard.h, sound_system="-DSYSTEM_OSS")
- extra_libs="-lmalloc"
+ # extra_libs="-lmalloc"
# LDFLAGS="-L/usr/lib -L/usr/X11R6/lib"
PETAL_LD=ld
@@ -181,6 +181,17 @@
#x_includes="-I$x_includes"
#x_libraries="-L$x_libraries"
+
+AC_MSG_CHECKING(Tcl include Path)
+AC_ARG_WITH(tclincl,
+ [ --with-tclincl Set tcl include Path],
+ with_tclincl=$withval,
+ with_tclincl=no)
+AC_MSG_RESULT($with_tclincl)
+
+if test "$with_tclincl" != "no"; then
+ PETAL_CFLAGS="${PETAL_CFLAGS} -I ${with_tclincl}"
+fi
AC_SUBST(rosegarden)