trouble optionaly enabling QT4 support

Amatus c11h15no2 at yahoo.com
Fri Apr 25 05:26:12 UTC 2008


I'm upgrading the gnunet port and I'm trying to use the OPTIONS=
configuration method. The handbook says to place OPTIONS= before
.include <bsd.port.pre.mk> and the .if defined(WITH_QT4) after
bsd.port.pre.mk. So I have this:

OPTIONS=        QT4     "Build qt4 support for gnunet-setup" On

.include <bsd.port.pre.mk>

.if defined(WITH_QT4)
USE_QT_VER=             4
CONFIGURE_ARGS+=        --with-qt=${LOCALBASE}
PLIST_SUB+=             WITH_QT4=""
.else
CONFIGURE_ARGS+=        --without-qt
PLIST_SUB+=             WITH_QT4="@comment "
.endif

But when I run portlint it complains that USE_QT_VER is after .include
<bsd.port.pre.mk>. How do I resolve this?


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ



More information about the freebsd-ports-bugs mailing list