summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-10-23 18:37:15 +0000
committerkrion <krion@FreeBSD.org>2003-10-23 18:37:15 +0000
commit5e14234352b92a51b016bc288a33e15c15442171 (patch)
tree05b4b971ccb4be75ec5e6d3bba25bc17f5243669
parent3ff183bc920228beec1ba2d0381bb78ff40ffff2 (diff)
downloadFreeBSD-ports-5e14234352b92a51b016bc288a33e15c15442171.zip
FreeBSD-ports-5e14234352b92a51b016bc288a33e15c15442171.tar.gz
- Fix build on -current
PR: 58445 Submitted by: Ports Fury
-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 d0f5fe6..cd6f307 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 0000000..71557bb
--- /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;
OpenPOWER on IntegriCloud