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

(-)Makefile (-4 / +8 lines)
Lines 18-26 Link Here
18
USE_BZIP2=	yes
18
USE_BZIP2=	yes
19
USE_GMAKE=	yes
19
USE_GMAKE=	yes
20
USE_X_PREFIX=	yes
20
USE_X_PREFIX=	yes
21
CFLAGS+=	-fpic -DPIC
21
CFLAGS+=	-fPIC -DPIC
22
23
ONLY_FOR_ARCHS=	i386 amd64
24
22
25
PLIST_FILES=	lib/xmms/Input/libwma.so
23
PLIST_FILES=	lib/xmms/Input/libwma.so
26
24
Lines 29-34 Link Here
29
USE_ICONV=	yes
27
USE_ICONV=	yes
30
.endif
28
.endif
31
29
30
.include <bsd.port.pre.mk>
31
32
pre-everything::
32
pre-everything::
33
.if !defined(WITH_ICONV)
33
.if !defined(WITH_ICONV)
34
	@${ECHO_MSG} "You may specify the following on the command line:"
34
	@${ECHO_MSG} "You may specify the following on the command line:"
Lines 41-45 Link Here
41
	@${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/Makefile.inc
41
	@${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/Makefile.inc
42
	@${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/ffmpeg-strip-wma/config.mak
42
	@${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/ffmpeg-strip-wma/config.mak
43
	@${REINPLACE_CMD} -e 's|CFLAGS :=|CFLAGS := ${CFLAGS}|g' ${WRKSRC}/Makefile.inc
43
	@${REINPLACE_CMD} -e 's|CFLAGS :=|CFLAGS := ${CFLAGS}|g' ${WRKSRC}/Makefile.inc
44
.if ${ARCH}=="sparc64"
45
	@${REINPLACE_CMD} -e 's|X86|SPARC64|' ${WRKSRC}/ffmpeg-strip-wma/config.mak
46
	@${REINPLACE_CMD} -e 's|#define ARCH_X86 1|#define ARCH_SPARC64 1|' ${WRKSRC}/ffmpeg-strip-wma/config.h
47
.endif
44
48
45
.include <bsd.port.mk>
49
.include <bsd.port.post.mk>

Return to bug 99923