f



bmp-mac, mac and xmms-mac ports

Hello,

I can't find these in the ports collections, so i've downloaded and compiled
mac and xmms-mac successfully and have confirmed that they work on FreeBSD.
I was looking for an APE (Monkey Audio) plug-in for XMMS in the ports
collection but wasn't able to find one.

I had a bit of trouble with compiling xmms-mac to start off with.

The compilation would fail with the following:
g++ -I/usr/X11R6/include -I/usr/X11R6/include/xmms -I/usr/local/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include -s -O3 -Wall -pedantic -DBUILD_CROSS_PLATFORM -g -O2 -o
fileinfo
fileinfo.o -Wl,-E  -L/usr/X11R6/lib -L/usr/local/lib -lgtk-12 -lgdk-12 -lgmodule-12 -lglib-12 /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -lXi -lXext -lX11 -lm -lxmms /usr/lib/libmac.so -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
/usr/local/lib/libgthread-12.so.3: undefined reference to
`pthread_cond_timedwait'
*** Error code 1

Stop in /usr/home/net147/xmms-mac-0.3.1/src.
*** Error code 1

Stop in /usr/home/net147/xmms-mac-0.3.1.
*** Error code 1

Stop in /usr/home/net147/xmms-mac-0.3.1.

However i've managed to fix this by deleting the extracts files,
re-extracting the files again, adding -lpthread to the configure.in file
and then running autoconf to regenerate the configure script before
compiling.

# diff starts here
--- configure.in.old    Sun Dec 10 14:24:01 2006
+++ configure.in        Sun Dec 10 14:24:23 2006
@@ -59,7 +59,7 @@

 AC_CHECK_LIB(mac, DecompressFile, [])

-MAC_LIBS="-lmac"
+MAC_LIBS="-lmac -lpthread"
 MAC_INCLUDES="-I/usr/include/mac"
 MAC_CXXFLAGS="-s -O3 -Wall -pedantic -DBUILD_CROSS_PLATFORM"
# diff ends here

I would be interested to see ports for bmp-mac, mac and xmms-mac in the
ports collection if anyone wants to make a port for it.
0
Net147
12/10/2006 4:44:42 AM
comp.unix.bsd.freebsd.misc 13187 articles. 1 followers. Post Follow

6 Replies
1379 Views

Similar Articles

[PageSpeed] 25

Net147 wrote:
> I would be interested to see ports for bmp-mac, mac and xmms-mac in the
> ports collection if anyone wants to make a port for it.


You already have both the experience and motivation needed.
So, why not you?! :-)

Regards,
Keve

-- 
if you need to reply directly:
keve(at)mail(dot)poliod(dot)hu
0
Keve
12/10/2006 9:05:48 AM
Net147 schrieb:
> Keve Nagy wrote:
> 
>> Net147 wrote:
>>> I would be interested to see ports for bmp-mac, mac and xmms-mac in the
>>> ports collection if anyone wants to make a port for it.
>>
>> You already have both the experience and motivation needed.
>> So, why not you?! :-)
>>
>> Regards,
>> Keve
>>
> 
> I can create the port but I need a place to store the patch files.
> I've created patches for configure and configure.in and i've done most of
> the other files required for the port.
> 
> If someone knows a good place where I can upload the patch files (around 30
> KB) or has a host that I could use then that would be useful.
> 
> I don't have any experience writing ports, if someone would be able to help
> find a place to host the patches and integrate the patches into the
> Makefile, that would be useful.
> 
> I've attached my work on the port so far.
> 
> Any help would be appreciated.
> 
> 
> ------------------------------------------------------------------------
> 
> # New ports collection makefile for:   mac
> # Date created:        11 December 2006
> # Whom:                Net147 <Net147@hotmail.com>
> #
> # $FreeBSD$
> #
> 
> PORTNAME=		xmms-mac
> PORTVERSION=	0.3.1
> PORTEPOCH=		1
> CATEGORIES=		audio
> MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
> MASTER_SITE_SUBDIR=	mac-port
> DISTNAME=		${PORTNAME}-${PORTVERSION}
> 
> MAINTAINER=		Net147@hotmail.com
> COMMENT=		XMMS input plugin for playing APE files
> 
> LIB_DEPENDS=	mac.4:${PORTSDIR}/audio/mac
> 
> USE_X_PREFIX=	yes
> GNU_CONFIGURE=	yes
> 
> .include <bsd.port.mk>
> 
> 
> ------------------------------------------------------------------------
> 
> --- configure.in.orig	Wed Apr 27 23:00:37 2005
> +++ configure.in	Sun Dec 10 23:43:08 2006
> @@ -4,7 +4,7 @@
>  #AC_PREREQ(2.57)
>  
>  AC_INIT(src/mac.cpp)
> -AC_PREFIX_DEFAULT("/usr")
> +AC_PREFIX_DEFAULT("/usr/local")
>  
>  PACKAGE=xmms-mac
>  
> @@ -48,6 +48,11 @@
>  
>  AC_SUBST(LOCAL_XMMS_INPUT_PLUGIN_DIR)
>  
> +# Add additional search path
> +
> +CPPFLAGS="-I/usr/local/include $CPPFLAGS"
> +LDFLAGS="-L/usr/local/lib $LDFLAGS"
> +
>  # Checks for header files.
>  
>  AC_CHECK_HEADER(wchar.h)
> @@ -59,8 +64,8 @@
>  
>  AC_CHECK_LIB(mac, DecompressFile, [])
>  
> -MAC_LIBS="-lmac"
> -MAC_INCLUDES="-I/usr/include/mac"
> +MAC_LIBS="-lmac -lpthread"
> +MAC_INCLUDES="-I/usr/local/include/mac"
>  MAC_CXXFLAGS="-s -O3 -Wall -pedantic -DBUILD_CROSS_PLATFORM"
>  
>  AC_SUBST(MAC_LIBS)
> 
> 
> ------------------------------------------------------------------------
> 
> --- configure.orig	Wed Apr 27 23:44:03 2005
> +++ configure		Mon Dec 11 00:01:00 2006
> @@ -426,7 +426,7 @@
>  PACKAGE_BUGREPORT=
>  
>  ac_unique_file="src/mac.cpp"
> -ac_default_prefix="/usr"
> +ac_default_prefix="/usr/local"
>  # Factoring default headers for most tests.
>  ac_includes_default="\
>  #include <stdio.h>
> @@ -1156,7 +1156,7 @@
>      else
>        echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
>      fi
> -    cd "$ac_popdir"
> +    cd $ac_popdir
>    done
>  fi
>  
> @@ -2321,7 +2321,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_cxx_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -2379,7 +2380,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_cxx_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -2450,7 +2452,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_cxx_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -2494,7 +2497,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_cxx_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -3068,7 +3072,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_c_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -3126,7 +3131,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_c_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -3242,7 +3248,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_c_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -3296,7 +3303,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_c_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -3341,7 +3349,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_c_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -3385,7 +3394,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_c_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -4132,7 +4142,7 @@
>    ;;
>  *-*-irix6*)
>    # Find out which ABI we are using.
> -  echo '#line 4135 "configure"' > conftest.$ac_ext
> +  echo '#line 4145 "configure"' > conftest.$ac_ext
>    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
>    (eval $ac_compile) 2>&5
>    ac_status=$?
> @@ -4252,7 +4262,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_c_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -4561,7 +4572,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_c_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -4731,7 +4743,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_c_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -4798,7 +4811,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_c_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -5236,7 +5250,7 @@
>  
>  
>  # Provide some information about the compiler.
> -echo "$as_me:5239:" \
> +echo "$as_me:5253:" \
>       "checking for Fortran 77 compiler version" >&5
>  ac_compiler=`set X $ac_compile; echo $2`
>  { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
> @@ -5282,7 +5296,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_f77_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_f77_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -5331,7 +5346,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_f77_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_f77_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -6268,11 +6284,11 @@
>     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
>     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
>     -e 's:$: $lt_compiler_flag:'`
> -   (eval echo "\"\$as_me:6271: $lt_compile\"" >&5)
> +   (eval echo "\"\$as_me:6287: $lt_compile\"" >&5)
>     (eval "$lt_compile" 2>conftest.err)
>     ac_status=$?
>     cat conftest.err >&5
> -   echo "$as_me:6275: \$? = $ac_status" >&5
> +   echo "$as_me:6291: \$? = $ac_status" >&5
>     if (exit $ac_status) && test -s "$ac_outfile"; then
>       # The compiler can only warn and ignore the option if not recognized
>       # So say no if there are warnings
> @@ -6501,11 +6517,11 @@
>     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
>     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
>     -e 's:$: $lt_compiler_flag:'`
> -   (eval echo "\"\$as_me:6504: $lt_compile\"" >&5)
> +   (eval echo "\"\$as_me:6520: $lt_compile\"" >&5)
>     (eval "$lt_compile" 2>conftest.err)
>     ac_status=$?
>     cat conftest.err >&5
> -   echo "$as_me:6508: \$? = $ac_status" >&5
> +   echo "$as_me:6524: \$? = $ac_status" >&5
>     if (exit $ac_status) && test -s "$ac_outfile"; then
>       # The compiler can only warn and ignore the option if not recognized
>       # So say no if there are warnings
> @@ -6561,11 +6577,11 @@
>     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
>     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
>     -e 's:$: $lt_compiler_flag:'`
> -   (eval echo "\"\$as_me:6564: $lt_compile\"" >&5)
> +   (eval echo "\"\$as_me:6580: $lt_compile\"" >&5)
>     (eval "$lt_compile" 2>out/conftest.err)
>     ac_status=$?
>     cat out/conftest.err >&5
> -   echo "$as_me:6568: \$? = $ac_status" >&5
> +   echo "$as_me:6584: \$? = $ac_status" >&5
>     if (exit $ac_status) && test -s out/conftest2.$ac_objext
>     then
>       # The compiler can only warn and ignore the option if not recognized
> @@ -6953,7 +6969,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_c_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -7013,7 +7030,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_c_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -8216,7 +8234,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_c_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -8319,7 +8338,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_c_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -8384,7 +8404,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_c_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -8477,7 +8498,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_c_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -8542,7 +8564,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_c_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -8608,7 +8631,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_c_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -8674,7 +8698,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_c_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -8749,7 +8774,7 @@
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<EOF
> -#line 8752 "configure"
> +#line 8777 "configure"
>  #include "confdefs.h"
>  
>  #if HAVE_DLFCN_H
> @@ -8847,7 +8872,7 @@
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<EOF
> -#line 8850 "configure"
> +#line 8875 "configure"
>  #include "confdefs.h"
>  
>  #if HAVE_DLFCN_H
> @@ -9919,7 +9944,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_cxx_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -9980,7 +10006,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_cxx_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -11024,11 +11051,11 @@
>     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
>     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
>     -e 's:$: $lt_compiler_flag:'`
> -   (eval echo "\"\$as_me:11027: $lt_compile\"" >&5)
> +   (eval echo "\"\$as_me:11054: $lt_compile\"" >&5)
>     (eval "$lt_compile" 2>conftest.err)
>     ac_status=$?
>     cat conftest.err >&5
> -   echo "$as_me:11031: \$? = $ac_status" >&5
> +   echo "$as_me:11058: \$? = $ac_status" >&5
>     if (exit $ac_status) && test -s "$ac_outfile"; then
>       # The compiler can only warn and ignore the option if not recognized
>       # So say no if there are warnings
> @@ -11084,11 +11111,11 @@
>     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
>     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
>     -e 's:$: $lt_compiler_flag:'`
> -   (eval echo "\"\$as_me:11087: $lt_compile\"" >&5)
> +   (eval echo "\"\$as_me:11114: $lt_compile\"" >&5)
>     (eval "$lt_compile" 2>out/conftest.err)
>     ac_status=$?
>     cat out/conftest.err >&5
> -   echo "$as_me:11091: \$? = $ac_status" >&5
> +   echo "$as_me:11118: \$? = $ac_status" >&5
>     if (exit $ac_status) && test -s out/conftest2.$ac_objext
>     then
>       # The compiler can only warn and ignore the option if not recognized
> @@ -11920,7 +11947,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_cxx_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -12023,7 +12051,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_cxx_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -12088,7 +12117,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_cxx_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -12181,7 +12211,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_cxx_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -12246,7 +12277,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_cxx_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -12312,7 +12344,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_cxx_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -12378,7 +12411,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_cxx_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -12453,7 +12487,7 @@
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<EOF
> -#line 12456 "configure"
> +#line 12490 "configure"
>  #include "confdefs.h"
>  
>  #if HAVE_DLFCN_H
> @@ -12551,7 +12585,7 @@
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<EOF
> -#line 12554 "configure"
> +#line 12588 "configure"
>  #include "confdefs.h"
>  
>  #if HAVE_DLFCN_H
> @@ -13378,11 +13412,11 @@
>     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
>     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
>     -e 's:$: $lt_compiler_flag:'`
> -   (eval echo "\"\$as_me:13381: $lt_compile\"" >&5)
> +   (eval echo "\"\$as_me:13415: $lt_compile\"" >&5)
>     (eval "$lt_compile" 2>conftest.err)
>     ac_status=$?
>     cat conftest.err >&5
> -   echo "$as_me:13385: \$? = $ac_status" >&5
> +   echo "$as_me:13419: \$? = $ac_status" >&5
>     if (exit $ac_status) && test -s "$ac_outfile"; then
>       # The compiler can only warn and ignore the option if not recognized
>       # So say no if there are warnings
> @@ -13438,11 +13472,11 @@
>     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
>     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
>     -e 's:$: $lt_compiler_flag:'`
> -   (eval echo "\"\$as_me:13441: $lt_compile\"" >&5)
> +   (eval echo "\"\$as_me:13475: $lt_compile\"" >&5)
>     (eval "$lt_compile" 2>out/conftest.err)
>     ac_status=$?
>     cat out/conftest.err >&5
> -   echo "$as_me:13445: \$? = $ac_status" >&5
> +   echo "$as_me:13479: \$? = $ac_status" >&5
>     if (exit $ac_status) && test -s out/conftest2.$ac_objext
>     then
>       # The compiler can only warn and ignore the option if not recognized
> @@ -13820,7 +13854,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_f77_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_f77_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -13870,7 +13905,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_f77_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_f77_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -15483,11 +15519,11 @@
>     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
>     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
>     -e 's:$: $lt_compiler_flag:'`
> -   (eval echo "\"\$as_me:15486: $lt_compile\"" >&5)
> +   (eval echo "\"\$as_me:15522: $lt_compile\"" >&5)
>     (eval "$lt_compile" 2>conftest.err)
>     ac_status=$?
>     cat conftest.err >&5
> -   echo "$as_me:15490: \$? = $ac_status" >&5
> +   echo "$as_me:15526: \$? = $ac_status" >&5
>     if (exit $ac_status) && test -s "$ac_outfile"; then
>       # The compiler can only warn and ignore the option if not recognized
>       # So say no if there are warnings
> @@ -15716,11 +15752,11 @@
>     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
>     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
>     -e 's:$: $lt_compiler_flag:'`
> -   (eval echo "\"\$as_me:15719: $lt_compile\"" >&5)
> +   (eval echo "\"\$as_me:15755: $lt_compile\"" >&5)
>     (eval "$lt_compile" 2>conftest.err)
>     ac_status=$?
>     cat conftest.err >&5
> -   echo "$as_me:15723: \$? = $ac_status" >&5
> +   echo "$as_me:15759: \$? = $ac_status" >&5
>     if (exit $ac_status) && test -s "$ac_outfile"; then
>       # The compiler can only warn and ignore the option if not recognized
>       # So say no if there are warnings
> @@ -15776,11 +15812,11 @@
>     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
>     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
>     -e 's:$: $lt_compiler_flag:'`
> -   (eval echo "\"\$as_me:15779: $lt_compile\"" >&5)
> +   (eval echo "\"\$as_me:15815: $lt_compile\"" >&5)
>     (eval "$lt_compile" 2>out/conftest.err)
>     ac_status=$?
>     cat out/conftest.err >&5
> -   echo "$as_me:15783: \$? = $ac_status" >&5
> +   echo "$as_me:15819: \$? = $ac_status" >&5
>     if (exit $ac_status) && test -s out/conftest2.$ac_objext
>     then
>       # The compiler can only warn and ignore the option if not recognized
> @@ -16168,7 +16204,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_c_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -16228,7 +16265,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_c_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -17431,7 +17469,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_c_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -17534,7 +17573,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_c_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -17599,7 +17639,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_c_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -17692,7 +17733,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_c_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -17757,7 +17799,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_c_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -17823,7 +17866,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_c_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -17889,7 +17933,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_c_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -17964,7 +18009,7 @@
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<EOF
> -#line 17967 "configure"
> +#line 18012 "configure"
>  #include "confdefs.h"
>  
>  #if HAVE_DLFCN_H
> @@ -18062,7 +18107,7 @@
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<EOF
> -#line 18065 "configure"
> +#line 18110 "configure"
>  #include "confdefs.h"
>  
>  #if HAVE_DLFCN_H
> @@ -19372,7 +19417,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_c_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -19676,6 +19722,11 @@
>  
>  
>  
> +# Add additional search path
> +
> +CPPFLAGS="-I/usr/local/include $CPPFLAGS"
> +LDFLAGS="-L/usr/local/lib $LDFLAGS"
> +
>  # Checks for header files.
>  
>  if test "${ac_cv_header_wchar_h+set}" = set; then
> @@ -19708,7 +19759,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_c_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -19851,7 +19903,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_c_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -20001,7 +20054,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_c_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -20158,7 +20212,8 @@
>    cat conftest.err >&5
>    echo "$as_me:$LINENO: \$? = $ac_status" >&5
>    (exit $ac_status); } &&
> -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
> +	 { ac_try='test -z "$ac_c_werror_flag"
> +			 || test ! -s conftest.err'
>    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>    (eval $ac_try) 2>&5
>    ac_status=$?
> @@ -20193,8 +20248,8 @@
>  fi
>  
>  
> -MAC_LIBS="-lmac"
> -MAC_INCLUDES="-I/usr/include/mac"
> +MAC_LIBS="-lmac -lpthread"
> +MAC_INCLUDES="-I/usr/local/include/mac"
>  MAC_CXXFLAGS="-s -O3 -Wall -pedantic -DBUILD_CROSS_PLATFORM"
>  
>  
> @@ -21125,6 +21180,11 @@
>    *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
>    esac
>  
> +  if test x"$ac_file" != x-; then
> +    { echo "$as_me:$LINENO: creating $ac_file" >&5
> +echo "$as_me: creating $ac_file" >&6;}
> +    rm -f "$ac_file"
> +  fi
>    # Let's still pretend it is `configure' which instantiates (i.e., don't
>    # use $as_me), people would be surprised to read:
>    #    /* config.h.  Generated by config.status.  */
> @@ -21163,12 +21223,6 @@
>  	 fi;;
>        esac
>      done` || { (exit 1); exit 1; }
> -
> -  if test x"$ac_file" != x-; then
> -    { echo "$as_me:$LINENO: creating $ac_file" >&5
> -echo "$as_me: creating $ac_file" >&6;}
> -    rm -f "$ac_file"
> -  fi
>  _ACEOF
>  cat >>$CONFIG_STATUS <<_ACEOF
>    sed "$ac_vpsub
> 
> 
> ------------------------------------------------------------------------
> 
> XMMS input plugin for playing APE files.
> 
> WWW: http://sourceforge.net/projects/mac-port/
> 
> 
> ------------------------------------------------------------------------
> 
> lib/xmms/Input/libxmms-mac.so
> lib/xmms/Input/libxmms-mac.la
> lib/xmms/Input/libxmms-mac.a
Hi.
Have a look here:
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributing-ports/index.html

Bye,
Alex
0
Alex
12/10/2006 2:03:57 PM
--nextPart2675132.gx2PlqjJQn
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8Bit

Keve Nagy wrote:

> Net147 wrote:
>> I would be interested to see ports for bmp-mac, mac and xmms-mac in the
>> ports collection if anyone wants to make a port for it.
> 
> 
> You already have both the experience and motivation needed.
> So, why not you?! :-)
> 
> Regards,
> Keve
> 

I can create the port but I need a place to store the patch files.
I've created patches for configure and configure.in and i've done most of
the other files required for the port.

If someone knows a good place where I can upload the patch files (around 30
KB) or has a host that I could use then that would be useful.

I don't have any experience writing ports, if someone would be able to help
find a place to host the patches and integrate the patches into the
Makefile, that would be useful.

I've attached my work on the port so far.

Any help would be appreciated.

--nextPart2675132.gx2PlqjJQn
Content-Type: text/plain; name="Makefile"
Content-Transfer-Encoding: 8Bit
Content-Disposition: attachment; filename="Makefile"

# New ports collection makefile for:   mac
# Date created:        11 December 2006
# Whom:                Net147 <Net147@hotmail.com>
#
# $FreeBSD$
#

PORTNAME=		xmms-mac
PORTVERSION=	0.3.1
PORTEPOCH=		1
CATEGORIES=		audio
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	mac-port
DISTNAME=		${PORTNAME}-${PORTVERSION}

MAINTAINER=		Net147@hotmail.com
COMMENT=		XMMS input plugin for playing APE files

LIB_DEPENDS=	mac.4:${PORTSDIR}/audio/mac

USE_X_PREFIX=	yes
GNU_CONFIGURE=	yes

..include <bsd.port.mk>

--nextPart2675132.gx2PlqjJQn
Content-Type: text/x-diff; name="configure.in.patch"
Content-Transfer-Encoding: 8Bit
Content-Disposition: attachment; filename="configure.in.patch"

--- configure.in.orig	Wed Apr 27 23:00:37 2005
+++ configure.in	Sun Dec 10 23:43:08 2006
@@ -4,7 +4,7 @@
 #AC_PREREQ(2.57)
 
 AC_INIT(src/mac.cpp)
-AC_PREFIX_DEFAULT("/usr")
+AC_PREFIX_DEFAULT("/usr/local")
 
 PACKAGE=xmms-mac
 
@@ -48,6 +48,11 @@
 
 AC_SUBST(LOCAL_XMMS_INPUT_PLUGIN_DIR)
 
+# Add additional search path
+
+CPPFLAGS="-I/usr/local/include $CPPFLAGS"
+LDFLAGS="-L/usr/local/lib $LDFLAGS"
+
 # Checks for header files.
 
 AC_CHECK_HEADER(wchar.h)
@@ -59,8 +64,8 @@
 
 AC_CHECK_LIB(mac, DecompressFile, [])
 
-MAC_LIBS="-lmac"
-MAC_INCLUDES="-I/usr/include/mac"
+MAC_LIBS="-lmac -lpthread"
+MAC_INCLUDES="-I/usr/local/include/mac"
 MAC_CXXFLAGS="-s -O3 -Wall -pedantic -DBUILD_CROSS_PLATFORM"
 
 AC_SUBST(MAC_LIBS)

--nextPart2675132.gx2PlqjJQn
Content-Type: text/x-diff; name="configure.patch"
Content-Transfer-Encoding: 8Bit
Content-Disposition: attachment; filename="configure.patch"

--- configure.orig	Wed Apr 27 23:44:03 2005
+++ configure		Mon Dec 11 00:01:00 2006
@@ -426,7 +426,7 @@
 PACKAGE_BUGREPORT=
 
 ac_unique_file="src/mac.cpp"
-ac_default_prefix="/usr"
+ac_default_prefix="/usr/local"
 # Factoring default headers for most tests.
 ac_includes_default="\
 #include <stdio.h>
@@ -1156,7 +1156,7 @@
     else
       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
     fi
-    cd "$ac_popdir"
+    cd $ac_popdir
   done
 fi
 
@@ -2321,7 +2321,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_cxx_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -2379,7 +2380,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_cxx_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -2450,7 +2452,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_cxx_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -2494,7 +2497,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_cxx_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -3068,7 +3072,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -3126,7 +3131,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -3242,7 +3248,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -3296,7 +3303,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -3341,7 +3349,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -3385,7 +3394,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -4132,7 +4142,7 @@
   ;;
 *-*-irix6*)
   # Find out which ABI we are using.
-  echo '#line 4135 "configure"' > conftest.$ac_ext
+  echo '#line 4145 "configure"' > conftest.$ac_ext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -4252,7 +4262,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -4561,7 +4572,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -4731,7 +4743,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -4798,7 +4811,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -5236,7 +5250,7 @@
 
 
 # Provide some information about the compiler.
-echo "$as_me:5239:" \
+echo "$as_me:5253:" \
      "checking for Fortran 77 compiler version" >&5
 ac_compiler=`set X $ac_compile; echo $2`
 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
@@ -5282,7 +5296,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_f77_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_f77_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -5331,7 +5346,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_f77_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_f77_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -6268,11 +6284,11 @@
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:6271: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:6287: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:6275: \$? = $ac_status" >&5
+   echo "$as_me:6291: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings
@@ -6501,11 +6517,11 @@
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:6504: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:6520: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:6508: \$? = $ac_status" >&5
+   echo "$as_me:6524: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings
@@ -6561,11 +6577,11 @@
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:6564: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:6580: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:6568: \$? = $ac_status" >&5
+   echo "$as_me:6584: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -6953,7 +6969,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -7013,7 +7030,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -8216,7 +8234,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -8319,7 +8338,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -8384,7 +8404,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -8477,7 +8498,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -8542,7 +8564,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -8608,7 +8631,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -8674,7 +8698,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -8749,7 +8774,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF
-#line 8752 "configure"
+#line 8777 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -8847,7 +8872,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF
-#line 8850 "configure"
+#line 8875 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -9919,7 +9944,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_cxx_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -9980,7 +10006,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_cxx_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -11024,11 +11051,11 @@
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:11027: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:11054: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:11031: \$? = $ac_status" >&5
+   echo "$as_me:11058: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings
@@ -11084,11 +11111,11 @@
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:11087: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:11114: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:11091: \$? = $ac_status" >&5
+   echo "$as_me:11118: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -11920,7 +11947,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_cxx_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -12023,7 +12051,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_cxx_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -12088,7 +12117,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_cxx_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -12181,7 +12211,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_cxx_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -12246,7 +12277,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_cxx_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -12312,7 +12344,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_cxx_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -12378,7 +12411,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_cxx_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -12453,7 +12487,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF
-#line 12456 "configure"
+#line 12490 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12551,7 +12585,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF
-#line 12554 "configure"
+#line 12588 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -13378,11 +13412,11 @@
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:13381: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:13415: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:13385: \$? = $ac_status" >&5
+   echo "$as_me:13419: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings
@@ -13438,11 +13472,11 @@
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:13441: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:13475: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:13445: \$? = $ac_status" >&5
+   echo "$as_me:13479: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -13820,7 +13854,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_f77_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_f77_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -13870,7 +13905,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_f77_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_f77_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -15483,11 +15519,11 @@
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:15486: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:15522: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:15490: \$? = $ac_status" >&5
+   echo "$as_me:15526: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings
@@ -15716,11 +15752,11 @@
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:15719: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:15755: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:15723: \$? = $ac_status" >&5
+   echo "$as_me:15759: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings
@@ -15776,11 +15812,11 @@
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:15779: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:15815: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:15783: \$? = $ac_status" >&5
+   echo "$as_me:15819: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -16168,7 +16204,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -16228,7 +16265,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -17431,7 +17469,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -17534,7 +17573,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -17599,7 +17639,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -17692,7 +17733,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -17757,7 +17799,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -17823,7 +17866,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -17889,7 +17933,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -17964,7 +18009,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF
-#line 17967 "configure"
+#line 18012 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -18062,7 +18107,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF
-#line 18065 "configure"
+#line 18110 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -19372,7 +19417,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -19676,6 +19722,11 @@
 
 
 
+# Add additional search path
+
+CPPFLAGS="-I/usr/local/include $CPPFLAGS"
+LDFLAGS="-L/usr/local/lib $LDFLAGS"
+
 # Checks for header files.
 
 if test "${ac_cv_header_wchar_h+set}" = set; then
@@ -19708,7 +19759,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -19851,7 +19903,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -20001,7 +20054,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -20158,7 +20212,8 @@
   cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -20193,8 +20248,8 @@
 fi
 
 
-MAC_LIBS="-lmac"
-MAC_INCLUDES="-I/usr/include/mac"
+MAC_LIBS="-lmac -lpthread"
+MAC_INCLUDES="-I/usr/local/include/mac"
 MAC_CXXFLAGS="-s -O3 -Wall -pedantic -DBUILD_CROSS_PLATFORM"
 
 
@@ -21125,6 +21180,11 @@
   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
   esac
 
+  if test x"$ac_file" != x-; then
+    { echo "$as_me:$LINENO: creating $ac_file" >&5
+echo "$as_me: creating $ac_file" >&6;}
+    rm -f "$ac_file"
+  fi
   # Let's still pretend it is `configure' which instantiates (i.e., don't
   # use $as_me), people would be surprised to read:
   #    /* config.h.  Generated by config.status.  */
@@ -21163,12 +21223,6 @@
 	 fi;;
       esac
     done` || { (exit 1); exit 1; }
-
-  if test x"$ac_file" != x-; then
-    { echo "$as_me:$LINENO: creating $ac_file" >&5
-echo "$as_me: creating $ac_file" >&6;}
-    rm -f "$ac_file"
-  fi
 _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF
   sed "$ac_vpsub

--nextPart2675132.gx2PlqjJQn
Content-Type: text/plain; name="pkg-descr"
Content-Transfer-Encoding: 8Bit
Content-Disposition: attachment; filename="pkg-descr"

XMMS input plugin for playing APE files.

WWW: http://sourceforge.net/projects/mac-port/

--nextPart2675132.gx2PlqjJQn
Content-Type: text/plain; name="pkg-plist"
Content-Transfer-Encoding: 8Bit
Content-Disposition: attachment; filename="pkg-plist"

lib/xmms/Input/libxmms-mac.so
lib/xmms/Input/libxmms-mac.la
lib/xmms/Input/libxmms-mac.a

--nextPart2675132.gx2PlqjJQn--
0
Net147
12/10/2006 2:09:45 PM
Net147 <Net147@hotmail.com> writes:

> If someone knows a good place where I can upload the patch files (around 30
> KB) or has a host that I could use then that would be useful.

Are those the patches you included?  Those seem fully appropriate to
put into the files/ directory for the port...
0
Lowell
12/11/2006 4:04:25 PM
It's okay, I already found the mac and xmms-mac ports in the ports 
collection.

I must have overlooked it while reading through the ports listings.

"Lowell Gilbert" <lgusenet@be-well.ilk.org> wrote in message 
news:44zm9uzaeu.fsf@be-well.ilk.org...
> Net147 <Net147@hotmail.com> writes:
>
>> If someone knows a good place where I can upload the patch files (around 
>> 30
>> KB) or has a host that I could use then that would be useful.
>
> Are those the patches you included?  Those seem fully appropriate to
> put into the files/ directory for the port... 


0
Net147
12/20/2006 8:50:23 AM
On 2006-12-20, Net147 <Net147@hotmail.com> wrote:
> It's okay, I already found the mac and xmms-mac ports in the ports 
> collection.
>
> I must have overlooked it while reading through the ports listings.
>
> "Lowell Gilbert" <lgusenet@be-well.ilk.org> wrote in message 
> news:44zm9uzaeu.fsf@be-well.ilk.org...
>> Net147 <Net147@hotmail.com> writes:
>>
>>> If someone knows a good place where I can upload the patch files (around 
>>> 30
>>> KB) or has a host that I could use then that would be useful.
>>
>> Are those the patches you included?  Those seem fully appropriate to
>> put into the files/ directory for the port... 
>
>

I'm guessing you aren't aware that you can search the ports tree by using

make search name=part-of-port-name

or 

make search key=part-of-port-name

in /usr/ports

Cheers

JE

0
JE
12/20/2006 1:48:15 PM
Reply:

Web resources about - bmp-mac, mac and xmms-mac ports - comp.unix.bsd.freebsd.misc

Resources last updated: 2/25/2016 4:10:56 AM