missing libmad optimization, diff included

Ingmar Gebert ingmar.gebert at uni-rostock.de
Tue Nov 23 12:00:58 PST 2004


I miss a knob for compiling libmad with speed optimizations,
which is offered during configuration. See the diff below for the simple 
changes.

Feel free to open a PR.

This was testet on:

10# uname -a
FreeBSD 10.10.134.30 4.9-SECURITY FreeBSD 4.9-SECURITY #0: Mon Jun  7 18:02:41 
GMT 2004     root at builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386


Cheers,
Ingmar


------------------diff--------------------------

--- Makefile    Tue Nov 23 20:23:07 2004
+++ Makefile.bak        Thu Oct 14 18:04:32 2004
@@ -21,12 +21,7 @@
 INSTALLS_SHLIB=        yes
 CONFIGURE_ARGS=        --disable-debugging \
                --enable-sso \
-
-.ifdef(WITH_SPEED)
-CONFIGURE_ARGS+=--enable-speed
-.else
-CONFIGURE_ARGS+=--enable-accuracy
-.endif
+               --enable-accuracy

 post-patch:
        @${SED} -e 's|%PREFIX%|${PREFIX}|g ; s|%VERSION%|${PORTVERSION}|g' \



More information about the freebsd-ports mailing list