aboutsummaryrefslogtreecommitdiffstats
path: root/audio/ksmp3play
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-09-05 00:57:39 +0800
committerkrion <krion@FreeBSD.org>2003-09-05 00:57:39 +0800
commit208abb601b6e4778992389f6111ff020a1565295 (patch)
treec8aa2a2fd0c25d1ae3f2dcb03a181b103ae69b67 /audio/ksmp3play
parentcc1972cbec22c1d9f976b3b35b7753b6026642b7 (diff)
downloadfreebsd-ports-gnome-208abb601b6e4778992389f6111ff020a1565295.tar.gz
freebsd-ports-gnome-208abb601b6e4778992389f6111ff020a1565295.tar.zst
freebsd-ports-gnome-208abb601b6e4778992389f6111ff020a1565295.zip
- Utilize USE_SDL
- Fix handling USE_GETOPT_LONG PR: 56431 Submitted by: Ports Fury
Diffstat (limited to 'audio/ksmp3play')
-rw-r--r--audio/ksmp3play/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/audio/ksmp3play/Makefile b/audio/ksmp3play/Makefile
index 2265b5a56962..cd6f30764ea3 100644
--- a/audio/ksmp3play/Makefile
+++ b/audio/ksmp3play/Makefile
@@ -16,15 +16,16 @@ COMMENT= An curses-based MP3 player
LIB_DEPENDS= smpeg.1:${PORTSDIR}/multimedia/smpeg
-SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
-
+USE_SDL= yes
+USE_GETOPT_LONG= yes
USE_REINPLACE= yes
-USE_GETOPT_LONG=yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= SDL_CONFIG=${SDL_CONFIG} \
- CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+
+MAN1= ksmp3play.1
-MAN1= ksmp3play.1
+CPPFLAGS= -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib
post-patch:
@${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure