[kde-freebsd] devel/qca ignores QMAKESPEC

Andriy Gapon avg at FreeBSD.org
Mon Jun 11 10:14:58 UTC 2012


Although QMAKESPEC value is passed to configure via CONFIGURE_ENV, and despite
configure having a snippet looking at $QMAKESPEC, it ultimately discards the
value...
The value form QMAKESPEC gets assigned to defmakespec, but that variable is
never used after that.  What gets used is qm_spec, but this one is never
assigned (its assignment is under "macx-xcode" condition).  qm_spec is actually
used, its value is passed to QC_QMAKESPEC which is used in the embedded C++ program.

This can be verified by passing --verbose to configure.

The following worked for me:
@@ -382,7 +382,7 @@ if [ "$QC_VERBOSE" = "Y" ]; then
        echo makespec is $defmakespec
 fi

-qm_spec=""
+qm_spec="$defmakespec"
 # if the makespec is macx-xcode, force macx-g++
 if [ "$defmakespec" = "macx-xcode" ]; then
        qm_spec=macx-g++
-- 
Andriy Gapon


More information about the kde-freebsd mailing list