summaryrefslogtreecommitdiff
path: root/mbone
diff options
context:
space:
mode:
authorMichael Haro <mharo@FreeBSD.org>2001-04-06 02:26:09 +0000
committerMichael Haro <mharo@FreeBSD.org>2001-04-06 02:26:09 +0000
commit09ea07bb8deef8729870322145b800367364d4cd (patch)
tree6154b91a53024c19b7792fd25212cc1ba921c9be /mbone
parentCorrect reversed patch (diff)
Fix build
Notes
Notes: svn path=/head/; revision=40924
Diffstat (limited to 'mbone')
-rw-r--r--mbone/rat/Makefile13
-rw-r--r--mbone/rat/files/patch-aa56
2 files changed, 59 insertions, 10 deletions
diff --git a/mbone/rat/Makefile b/mbone/rat/Makefile
index 746885541023..cd715a63ddc4 100644
--- a/mbone/rat/Makefile
+++ b/mbone/rat/Makefile
@@ -7,7 +7,6 @@
PORTNAME= rat
PORTVERSION= 4.2.13
-
PORTREVISION= 0
CATEGORIES= mbone audio ipv6
MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/rat/4.2.13/ \
@@ -23,8 +22,6 @@ USE_GMAKE= yes
MAN1= rat.1
MANCOMPRESSED= no
-PATCH_DEBUG= yes
-
RAT_BUILD_DIRS= common rat
.include <bsd.port.pre.mk>
@@ -42,12 +39,12 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/rat/sdr2.plugin.S02.audio.rtp.*.rat ${LOCALBASE}/etc/sdr/plugins
do-build:
- for d in ${RAT_BUILD_DIRS}; do \
- cd ${WRKSRC}/$$d && ${GMAKE}; \
- done
+.for d in ${RAT_BUILD_DIRS}
+ cd ${WRKSRC}/${d} && ${GMAKE}
+.endfor
do-configure:
- cd ${WRKSRC}/common && autoconf && ./configure ${ENABLE_IPv6}
- cd ${WRKSRC}/rat && autoconf && ./configure --with-tcl=${LOCALBASE} --with-tk=${LOCALBASE} ${ENABLE_IPv6}
+ cd ${WRKSRC}/common && autoconf && ./configure ${CONFIGURE_ARGS} ${ENABLE_IPv6}
+ cd ${WRKSRC}/rat && autoconf && ./configure ${CONFIGURE_ARGS} --with-tcl=${LOCALBASE} --with-tk=${LOCALBASE} ${ENABLE_IPv6}
.include "bsd.port.post.mk"
diff --git a/mbone/rat/files/patch-aa b/mbone/rat/files/patch-aa
index cdec971f5708..c6fb8667dda0 100644
--- a/mbone/rat/files/patch-aa
+++ b/mbone/rat/files/patch-aa
@@ -1,5 +1,57 @@
---- ../../../work-pre-patch/rat-4.2.13/rat/configure.in Sun Mar 4 12:00:33 2001
-+++ rat/configure.in Sun Mar 4 13:13:29 2001
+--- rat/configure.in.orig Fri Mar 2 12:49:10 2001
++++ rat/configure.in Thu Apr 5 19:13:17 2001
+@@ -280,12 +280,12 @@
+ # We could be dealing with a source installation or a full installation.
+ # Expect a source installation to have headers in TCL8_HOME/generic and libs in
+ # TCL8_HOME/unix. A full installation should have headers in
+-# INSTDIR/include/tcl8.0, or INSTDIR/include, and have libraries be in
++# INSTDIR/include/tcl8.2, or INSTDIR/include, and have libraries be in
+ # INSTDIR/lib.
+ #------------------------------------------------------------------------------
+ PARENT=`echo $PWD | sed -e 's%/[[^/]]*$%%'`
+-TCL_INC=${PARENT}/tcl-8.0
+-TCL_LIB=${PARENT}/tcl-8.0
++TCL_INC=${PARENT}/tcl-8.2
++TCL_LIB=${PARENT}/tcl-8.2
+
+ AC_ARG_WITH(tcl,
+ [ --with-tcl=DIR specify location of Tcl installation],
+@@ -295,7 +295,7 @@
+ #-----------------------------------------------------------------------------
+ # Depending on config expect tcl.h to be tcl source dir or include path
+ #-----------------------------------------------------------------------------
+-for i in $TCL_INC/generic $TCL_INC/include/tcl8.0 $TCL_INC/include $TCL_INC
++for i in $TCL_INC/generic $TCL_INC/include/tcl8.2 $TCL_INC/include $TCL_INC
+ do
+ if test -d $i ; then
+ TCL_INC=$i
+@@ -330,7 +330,7 @@
+ SAVED_LIBS=$LIBS
+ LIBS=""
+ FOUND_TCL_LIB=no
+-AC_SEARCH_LIBS(Tcl_Init, tcl8.0 tcl80,
++AC_SEARCH_LIBS(Tcl_Init, tcl8.2 tcl82,
+ FOUND_TCL_LIB=yes,
+ ,
+ -L${TCL_LIB} ${SAVED_LIBS} -lm)
+@@ -359,7 +359,7 @@
+ # include tcl.h, Xlib.h, Xutil.h before tk.h.
+ #-----------------------------------------------------------------------------
+ FOUND_TK_INC=0
+-for i in $TK_INC/generic $TK_INC/include/tk8.0 $TK_INC/include $TK_INC
++for i in $TK_INC/generic $TK_INC/include/tk8.2 $TK_INC/include $TK_INC
+ do
+ AC_MSG_CHECKING(for $i/tk.h)
+ if test -r $i/tk.h ; then
+@@ -391,7 +391,7 @@
+ SAVED_LIBS=$LIBS
+ LIBS=""
+ FOUND_TK_LIB=no
+-AC_SEARCH_LIBS(Tk_Init, tk8.0 tk80,
++AC_SEARCH_LIBS(Tk_Init, tk8.2 tk82,
+ FOUND_TK_LIB=yes,
+ ,
+ -L${TK_LIB} ${TCL_LIB} $X_LIBS $X_PRE_LIBS -lXext -lX11 $X_EXTRA_LIBS ${SAVED_LIBS} -lm)
@@ -464,20 +464,8 @@
COMMON_LIB=${COMMON_LIB}/lib
fi