ports/92068: audio/ccaudio: unbreak on amd64

Johan van Selst johans at stack.nl
Fri Jan 20 18:10:05 UTC 2006


>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 at 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:



More information about the freebsd-ports-bugs mailing list