View | Details | Raw Unified | Return to bug 56431
Collapse All | Expand All

(-)audio/ksmp3play/Makefile (-6 / +7 lines)
Lines 16-30 Link Here
16
16
17
LIB_DEPENDS=	smpeg.1:${PORTSDIR}/multimedia/smpeg
17
LIB_DEPENDS=	smpeg.1:${PORTSDIR}/multimedia/smpeg
18
18
19
SDL_CONFIG?=	${LOCALBASE}/bin/sdl11-config
19
USE_SDL=	yes
20
20
USE_GETOPT_LONG=	yes
21
USE_REINPLACE=	yes
21
USE_REINPLACE=	yes
22
USE_GETOPT_LONG=yes
23
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
24
CONFIGURE_ENV=	SDL_CONFIG=${SDL_CONFIG} \
23
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
25
		CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
24
25
MAN1=		ksmp3play.1
26
26
27
MAN1=	ksmp3play.1
27
CPPFLAGS=	-I${LOCALBASE}/include
28
LDFLAGS=	-L${LOCALBASE}/lib
28
29
29
post-patch:
30
post-patch:
30
	@${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure
31
	@${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure

Return to bug 56431