On Wed, 2 Apr 2008 18:34:42 +0200 Max Laier <[EMAIL PROTECTED]> wrote:
> Hi, > > I have some trouble with sysutils/pftop. It seems that if a user > sets CFLAGS in make.conf the additional "CFLAGS+= -DHAVE_ALTQ=1" I > have in the port's Makefile doesn't get through to the build step's > environment. This might be due to the fact that this port uses the > bsd.*.mk scripts, but I'm puzzled as to how to do this right. Any > insight? > It's handled in the pftop Makefile: .if ${OSVERSION} < 502116 MAKE_ARGS= LOCALBASE="${PREFIX}" OSLEVEL=34 .if defined(WITH_ALTQ) && (${WITH_ALTQ} == "yes") CFLAGS+= -DHAVE_ALTQ=1 .endif .elif ${OSVERSION} < 600025 MAKE_ARGS= LOCALBASE="${PREFIX}" OSLEVEL=35 CFLAGS+= -DHAVE_ALTQ=1 -DHAVE_RULE_ANCHOR=1 .elif ${OSVERSION} < 700049 MAKE_ARGS= LOCALBASE="${PREFIX}" OSLEVEL=37 CFLAGS+= -DHAVE_ALTQ=1 .else MAKE_ARGS= LOCALBASE="${PREFIX}" OSLEVEL=41 CFLAGS+= -DHAVE_ALTQ=1 .endif _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"