Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jan 2006 19:00:23 +0100 (CET)
From:      Johan van Selst <johans@stack.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/92068: audio/ccaudio: unbreak on amd64
Message-ID:  <20060120180023.A109B61F4@hammer.stack.nl>
Resent-Message-ID: <200601201810.k0KIA4x2026990@freefall.freebsd.org>

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

>Number:         92068
>Category:       ports
>Synopsis:       audio/ccaudio: unbreak on amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 20 18:10:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Johan van Selst
>Release:        FreeBSD 6.0-STABLE amd64
>Organization:
>Environment:
System: FreeBSD hammer.stack.nl 6.0-STABLE FreeBSD 6.0-STABLE #5: Tue Jan 3 18:48:40 CET 2006 root@hammer.stack.nl:/usr/obj/usr/src/sys/HAMMER amd64


	
>Description:
	
	Make the program respect it's own Makefile variables.
	Patch has also been sent to the author.

>How-To-Repeat:
	
>Fix:

	

diff -uNr ccaudio/Makefile ccaudio/Makefile
--- ccaudio/Makefile	Fri Jan 20 18:47:41 2006
+++ ccaudio/Makefile	Fri Jan 20 18:57:36 2006
@@ -29,13 +29,11 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${ARCH} == "amd64"
-BROKEN=		"Does not build on amd64 (shared libraries must be compiled with -fPIC)"
-.endif
-
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|<stdint\.h>|<stdlib.h>|g' ${WRKSRC}/src/dtmf.cpp
+	@${REINPLACE_CMD} -e \
+		's|@CXXFLAGS@|& $$(g_711_CXXFLAGS)|' ${WRKSRC}/dso/Makefile.in
 
 pre-configure:
 	@${CP} ${LTMAIN} ${WRKSRC}/config
>Release-Note:
>Audit-Trail:
>Unformatted:



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