[kde-freebsd] FreeBSD mkspecs
    David Johnson 
    david at usermode.org
       
    Tue Jun 17 04:14:11 CEST 2008
    
    
  
In the qmake port Makefile, there is the following snippet:
post-patch:
	@${REINPLACE_CMD} -e 's|-O2|${CXXFLAGS}|' \
		-e 's|gcc.*|${CC}|' \
		-e 's|g++.*|${CXX}|' \
		[...snip...]
		${WRKSRC}/../mkspecs/freebsd-g++/qmake.conf \
		${WRKSRC}/../mkspecs/freebsd-g++34/qmake.conf
	@${REINPLACE_CMD} -e 's|@QMAKE_QTOBJS@||g' ${WRKSRC}/Makefile.unix
One of effects of this is to change the compiler specified in the makespec to 
CC and CXX. This subverts the intention of freebsd-g++34, which is to 
generate a Makefile for a specific compiler version.
Should this sed be applied over just the freebsd-g++ mkspec?
-- 
David Johnson
    
    
More information about the kde-freebsd
mailing list