summaryrefslogtreecommitdiff
path: root/audio/ksmp3play
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-09-04 16:57:39 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-09-04 16:57:39 +0000
commitb4bcfa68f901aae2ac51c9cbbd4ce06ecf845917 (patch)
treeb7ae31d1076000617d81bc8693143b6ba9add673 /audio/ksmp3play
parent- Update to version 0.1.7 (diff)
- Utilize USE_SDL
- Fix handling USE_GETOPT_LONG PR: 56431 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=88553
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