lame is 3.100 after 5 years * the SSE patch has been incorporated, co we don't need to rebuild configure, so we can drop the autoconf dep and the patch * the 3DNow detection is not incorporated, so keep the patch * it seems we don't need GMAKE either * add explicit ./configure --options
+ --mandir=${PREFIX}/man \ + --enable-option-checking \ + --disable-silent-rules \ + --enable-largefile \ + --disable-cpml \ + --disable-decoder \ + --enable-frontend \ + --enable-dynamic-frontends \ + --disable-mp3x \ + --enable-mp3rtp \ + --without-dmalloc \ + --with-fileio=lame --disable-cpml I don't know what the Compaq Math library is, so I disabled it. --enable-dynamic-frontends Link frontends against shared libraries default=no - we want to link to the shared lib, right? --without-dmalloc We want our malloc OK? Comments? Jan > > * add explicit ./configure --options > > * order them as they appear in ./configure --help > there are various schools of thought for this, I'd defer to > ${MAINTAINER}. Antoine? Index: Makefile =================================================================== RCS file: /cvs/ports/audio/lame/Makefile,v retrieving revision 1.58 diff -u -p -r1.58 Makefile --- Makefile 27 Jul 2017 14:48:10 -0000 1.58 +++ Makefile 30 Jan 2018 08:43:15 -0000 @@ -3,8 +3,7 @@ COMMENT= lame ain't an MP3 encoder #' -DISTNAME= lame-3.99.5 -REVISION= 1 +DISTNAME= lame-3.100 SHARED_LIBS += mp3lame 2.1 # 0.1 @@ -24,13 +23,20 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE: LIB_DEPENDS= converters/libiconv -USE_GMAKE= Yes - -AUTOCONF_VERSION=2.69 -CONFIGURE_STYLE=autoconf -CONFIGURE_ARGS= --enable-mp3rtp \ - --disable-mp3x \ - --with-fileio=lame +CONFIGURE_STYLE=simple +CONFIGURE_ARGS= \ + --mandir=${PREFIX}/man \ + --enable-option-checking \ + --disable-silent-rules \ + --enable-largefile \ + --disable-cpml \ + --disable-decoder \ + --enable-frontend \ + --enable-dynamic-frontends \ + --disable-mp3x \ + --enable-mp3rtp \ + --without-dmalloc \ + --with-fileio=lame .if ${MACHINE_ARCH} == "i386" BUILD_DEPENDS+= devel/nasm Index: distinfo =================================================================== RCS file: /cvs/ports/audio/lame/distinfo,v retrieving revision 1.19 diff -u -p -r1.19 distinfo --- distinfo 18 Jan 2015 03:12:43 -0000 1.19 +++ distinfo 30 Jan 2018 08:43:15 -0000 @@ -1,2 +1,2 @@ -SHA256 (lame-3.99.5.tar.gz) = JDRrQVjkrzvZ8uGUuyPrRzx1+3N3ARUjNTGWsZuaI/8= -SIZE (lame-3.99.5.tar.gz) = 1445348 +SHA256 (lame-3.100.tar.gz) = 3f42yrhzeUA4riwSEFV600hXpLa9xRV4XR2p4XWx2h4= +SIZE (lame-3.100.tar.gz) = 1524133 Index: patches/patch-configure_in =================================================================== RCS file: patches/patch-configure_in diff -N patches/patch-configure_in --- patches/patch-configure_in 27 Jul 2017 14:48:10 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,37 +0,0 @@ -$OpenBSD: patch-configure_in,v 1.1 2017/07/27 14:48:10 espie Exp $ - -Complete auto detection of xmmintrin_h according to actual support. -from FreeBSD - -Index: configure.in ---- configure.in.orig -+++ configure.in -@@ -56,7 +56,7 @@ LIB_MAJOR_VERSION=0 - - # increase this when changes are made, but they are upward compatible - # to previous versions --LIB_MINOR_VERSION=0 -+LIB_MINOR_VERSION=1 - - dnl # work around for a bug, don't know where it is exactly - if test "${ac_cv_cygwin}" = "yes"; then -@@ -96,8 +96,18 @@ AC_CHECK_HEADERS( \ - sys/soundcard.h \ - sys/time.h \ - unistd.h \ -- xmmintrin.h \ - linux/soundcard.h) -+ -+dnl Checks for actually working SSE intrinsics -+AC_MSG_CHECKING(working SSE intrinsics) -+AC_COMPILE_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[#include <xmmintrin.h>]], -+ [[_mm_sfence();]])], -+ [AC_DEFINE([HAVE_XMMINTRIN_H], [1], [Define if SSE intrinsics work.]) -+ ac_cv_header_xmmintrin_h=yes], -+ [ac_cv_header_xmmintrin_h=no]) -+AC_MSG_RESULT(${ac_cv_header_xmmintrin_h}) - - dnl Checks for typedefs, structures, and compiler characteristics. - AC_C_CONST