Skip to content
Permalink
Browse files

Bug: https://trac.macports.org/ticket/1093

Submitted by:   blb@pobox.com (Bryan Blackburn)
Reviewed by:
Approved by:
Obtained from:

mp3 variant

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@3857 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Felix Kronlage
Felix Kronlage committed Oct 30, 2003
1 parent ef8f05f commit 9cbc2a603309c5909b9440fd3e7048e4567e4a9f
Showing with 33 additions and 3 deletions.
  1. +11 −3 audio/libsdl_mixer/Portfile
  2. +22 −0 audio/libsdl_mixer/files/patch-configure
@@ -1,4 +1,4 @@
# $Id: Portfile,v 1.1 2003/08/15 18:35:42 fkr Exp $
# $Id: Portfile,v 1.2 2003/10/30 12:31:41 fkr Exp $

PortSystem 1.0
name libsdl_mixer
@@ -16,5 +16,13 @@ homepage http://www.libsdl.org/projects/SDL_mixer/
distname SDL_mixer-${version}
checksums md5 f26d4e4625f00517203e32bd06fbc5d8
depends_lib lib:libSDL:libsdl
configure.env CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"
configure.args --with-sdl-prefix=${prefix} --disable-static
patchfiles patch-configure
configure.env CPPFLAGS="-no-cpp-precomp -I${prefix}/include" LDFLAGS="-L${prefix}/lib"
configure.args --with-sdl-prefix=${prefix} --disable-static --disable-music-mp3

variant mp3 {
depends_lib-append lib:libsmpeg:smpeg
configure.args-delete --disable-music-mp3
configure.args-append --enable-music-mp3 --with-smpeg-prefix=${prefix}
}

@@ -0,0 +1,22 @@
--- configure.orig Thu Mar 6 23:29:16 2003
+++ configure Tue Oct 28 23:28:23 2003
@@ -2458,15 +2458,15 @@
}
else
{
- printf("\n*** 'smpeg-config --version' returned %d.%d.%d, but the
+ printf("\n*** 'smpeg-config --version' returned %d.%d.%d, but the \
minimum version\n", $smpeg_major_version, $smpeg_minor_version,
$smpeg_micro_version);
- printf("*** of SMPEG required is %d.%d.%d. If smpeg-config is
+ printf("*** of SMPEG required is %d.%d.%d. If smpeg-config is \
correct, then it is\n", major, minor, micro);
printf("*** best to upgrade to the required version.\n");
- printf("*** If smpeg-config was wrong, set the environment variable
+ printf("*** If smpeg-config was wrong, set the environment variable \
SMPEG_CONFIG\n");
- printf("*** to point to the correct copy of smpeg-config, and remove
+ printf("*** to point to the correct copy of smpeg-config, and remove \
the file\n");
printf("*** config.cache before re-running configure\n");
return 1;

0 comments on commit 9cbc2a6

Please sign in to comment.
You can’t perform that action at this time.