Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Apr 2008 21:59:30 -0700 (PDT)
From:      Amatus <c11h15no2@yahoo.com>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   trouble optionaly enabling QT4 support
Message-ID:  <176074.41931.qm@web30001.mail.mud.yahoo.com>

next in thread | raw e-mail | index | archive | help
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



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