View | Details | Raw Unified | Return to bug 115768 | Differences between
and this patch

Collapse All | Expand All

(-)/home/trasz/soundtouch/Makefile (-8 / +1 lines)
Lines 18-29 Link Here
18
USE_AUTOTOOLS=	autoconf:259 automake:19:env libtool:15
18
USE_AUTOTOOLS=	autoconf:259 automake:19:env libtool:15
19
USE_LDCONFIG=	yes
19
USE_LDCONFIG=	yes
20
20
21
BROKEN=		Does not compile
22
23
post-patch: .SILENT
21
post-patch: .SILENT
24
.for f in config.guess config.sub depcomp install-sh missing
22
	cd ${WRKSRC} && ${TOUCH} NEWS README AUTHORS ChangeLog && ${AUTORECONF} -i
25
	${LN} -sf ${LOCALBASE}/share/automake-1.9/${f} ${WRKSRC}/config/${f}
26
.endfor
27
	${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
23
	${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
28
		's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g; \
24
		's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g; \
29
		s|-O3[^I]*|${CXXFLAGS} -|; s|$$(prefix)/doc|$$(datadir)/doc|; \
25
		s|-O3[^I]*|${CXXFLAGS} -|; s|$$(prefix)/doc|$$(datadir)/doc|; \
Lines 37-44 Link Here
37
	${REINPLACE_CMD} -e 's| install-pkgdocDATA$$||' \
33
	${REINPLACE_CMD} -e 's| install-pkgdocDATA$$||' \
38
		${WRKSRC}/Makefile.in
34
		${WRKSRC}/Makefile.in
39
.endif
35
.endif
40
41
post-configure:
42
	@${REINPLACE_CMD} -e '/objformat=/s|=.*|=elf|' ${WRKSRC}/configure
43
36
44
.include <bsd.port.mk>
37
.include <bsd.port.mk>

Return to bug 115768