Hi! matthew@ wrote:
> There's a number of things wrong with this port, some inherited from the > pgpool-II port you copied, and some where you're using outmoded constructs. [...] > - Use options helpers rather than if $(PORT_OPTIONS:MFoo). Eg. > instead of > > .if ${PORT_OPTIONS:MSSL} > USE_OPENSSL= yes > CONFIGURE_ARGS+=--with-openssl > .endif > > use: > > SSL_CONFIGURE_WITH= openssl > SSL_USE= OPENSSL=YES > > and similarly for the PAM option. I tried this for PAM: PAM_CONFIGURE_WITH+= pam PAM_USE= PAM=yes and config.log contains #define USE_PAM 1 even if the PAM option is not selected. This leads to the compile failing for pool_hba.c with some pam-related error, see http://people.freebsd.org/~pi/misc/pgpool-pam-error.txt The other method worked. Do you have any idea why that happens ? > - The port cannot be staged as a non-root user. This is due to the > way the contrib Makefiles are written -- although elsewhere it > uses standard autoconf stuff, which pretty much just works for > staging purposes. I'm unsure what you mean with "the contrib Makefiles" ? You refer to the cd ${WRKSRC}/sql/${f} && ${GMAKE} \ STAGEDIR=${STAGEDIR} \ PREFIX=${PREFIX} \ ${INSTALL_TARGET} construct in target post-install ? -- p...@freebsd.org +49 171 3101372 6 years to go ! _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"