Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Aug 2007 22:46:31 +0200 (CEST)
From:      trasz <trasz@pin.if.uz.zgora.pl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        danfe@FreeBSD.org
Subject:   ports/115768: [PATCH] audio/soundtouch: fix build.
Message-ID:  <20070823204631.7EFAA3985B@pin.if.uz.zgora.pl>
Resent-Message-ID: <200708232040.l7NKe4Ud019494@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         115768
>Category:       ports
>Synopsis:       [PATCH] audio/soundtouch: fix build.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 23 20:40:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     trasz
>Release:        FreeBSD 6.1-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD pin.if.uz.zgora.pl 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #0: Wed Nov 15 19:16:30 CET 2006
>Description:
Attached patch seems to fix the build.

Port maintainer (danfe@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- soundtouch-1.3.1_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/audio/soundtouch/Makefile /home/trasz/soundtouch/Makefile
--- /usr/ports/audio/soundtouch/Makefile	Sun Jul 29 00:41:56 2007
+++ /home/trasz/soundtouch/Makefile	Thu Aug 23 22:45:36 2007
@@ -18,12 +18,8 @@
 USE_AUTOTOOLS=	autoconf:259 automake:19:env libtool:15
 USE_LDCONFIG=	yes
 
-BROKEN=		Does not compile
-
 post-patch: .SILENT
-.for f in config.guess config.sub depcomp install-sh missing
-	${LN} -sf ${LOCALBASE}/share/automake-1.9/${f} ${WRKSRC}/config/${f}
-.endfor
+	cd ${WRKSRC} && ${TOUCH} NEWS README AUTHORS ChangeLog && ${AUTORECONF} -i
 	${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
 		's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g; \
 		s|-O3[^I]*|${CXXFLAGS} -|; s|$$(prefix)/doc|$$(datadir)/doc|; \
@@ -37,8 +33,5 @@
 	${REINPLACE_CMD} -e 's| install-pkgdocDATA$$||' \
 		${WRKSRC}/Makefile.in
 .endif
-
-post-configure:
-	@${REINPLACE_CMD} -e '/objformat=/s|=.*|=elf|' ${WRKSRC}/configure
 
 .include <bsd.port.mk>
--- soundtouch-1.3.1_2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070823204631.7EFAA3985B>