summaryrefslogtreecommitdiff
path: root/audio/ksmp3play
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-10-23 18:37:15 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-10-23 18:37:15 +0000
commit38eacb978b76301e0d941b189e501cdb15580e81 (patch)
tree95600b2cf9085112d3b6af32a3ba121d2d866af5 /audio/ksmp3play
parent- Fix build with XFree86 3.x (diff)
- Fix build on -current
PR: 58445 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=91981
Diffstat (limited to 'audio/ksmp3play')
-rw-r--r--audio/ksmp3play/Makefile8
-rw-r--r--audio/ksmp3play/files/patch-configure23
2 files changed, 24 insertions, 7 deletions
diff --git a/audio/ksmp3play/Makefile b/audio/ksmp3play/Makefile
index d0f5fe6f7d8a..cd6f30764ea3 100644
--- a/audio/ksmp3play/Makefile
+++ b/audio/ksmp3play/Makefile
@@ -14,12 +14,6 @@ MASTER_SITES= http://www.xanadunet.net/ksmp3play/
MAINTAINER= ports@FreeBSD.org
COMMENT= An curses-based MP3 player
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 501000
-BROKEN= "Does not configure on FreeBSD ${OSVERSION}"
-.endif
-
LIB_DEPENDS= smpeg.1:${PORTSDIR}/multimedia/smpeg
USE_SDL= yes
@@ -44,4 +38,4 @@ post-install:
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/ksmp3play/files/patch-configure b/audio/ksmp3play/files/patch-configure
new file mode 100644
index 000000000000..71557bb669d4
--- /dev/null
+++ b/audio/ksmp3play/files/patch-configure
@@ -0,0 +1,23 @@
+--- configure.orig Mon Aug 20 04:22:22 2001
++++ configure Thu Oct 23 12:10:52 2003
+@@ -1258,15 +1258,15 @@
+ }
+ else
+ {
+- printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the
+-minimum version\n", $sdl_major_version, $sdl_minor_version,
++ printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the \
++minimum version\n", $sdl_major_version, $sdl_minor_version, \
+ $sdl_micro_version);
+- printf("*** of SDL required is %d.%d.%d. If sdl-config is correct,
++ printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, \
+ then it is\n", major, minor, micro);
+ printf("*** best to upgrade to the required version.\n");
+- printf("*** If sdl-config was wrong, set the environment variable
++ printf("*** If sdl-config was wrong, set the environment variable \
+ SDL_CONFIG\n");
+- printf("*** to point to the correct copy of sdl-config, and remove
++ printf("*** to point to the correct copy of sdl-config, and remove \
+ the file\n");
+ printf("*** config.cache before re-running configure\n");
+ return 1;