pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CONFIGURE_ARGS - ways other than edit Makefile?

Anne Bennett schrieb:

.if ${PKGPATH} == "x11/xlockmore-lite"
CONFIGURE_ARGS+= --enable-syslog

One small fix:

 .if "${PKGPATH}" == "x11/xlockmore-lite"
 CONFIGURE_ARGS+= --enable-syslog

The quotes are needed around ${PKGPATH} to avoid a syntax
error should mk.conf be used in an environment where PKGPATH
is not defined, such as while rebuilding a kernel.  Ask me
how I know.  ;-)

I assumed that you would put the above lines between the ".ifdef BSD_PKG_MK" and the corresponding ".endif", as it is generated by the pkgsrc bootstrap program. Apparently you didn't. :)


Home | Main Index | Thread Index | Old Index