pkgsrc/mail/qpopper/Makefile.common
jlam 9b1b4a1493 * buildlink1 --> buildlink2.
* Pass the LDFLAGS through to the build process so that the final binaries
  are built with the appropriate -Wl,-R flags.  This should fix pkg/18054.
* Use ROOT_{USER,GROUP} instead of hardcoding "root" and "wheel" when
  installing poppassd.
2002-09-09 19:25:26 +00:00

34 lines
834 B
Text

# $NetBSD: Makefile.common,v 1.7 2002/09/09 19:25:30 jlam Exp $
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --libexecdir=${LOCALBASE}/libexec \
--sysconfdir=${LOCALBASE}/etc \
--enable-apop=${QPOPPER_APOP_AUTH} \
--with-popuid=${QPOPPER_USER} \
--enable-log-facility=LOG_${QPOPPER_FAC} \
--disable-update-abort --without-gdbm
QPOPPER_USER?= pop
QPOPPER_FAC?= LOCAL1
QPOPPER_APOP_AUTH?= ${PKG_SYSCONFDIR}/apop.auth
DB_SUFFIX?= db
VERSION= 4.0.4
.include "../../mk/bsd.prefs.mk"
.if defined(KERBEROS)
PKG_USE_KERBEROS= # defined
CONFIGURE_ARGS+= --enable-kerberos
.endif
BUILD_DEFS+= QPOPPER_SERVERMODE USE_INET6
.if defined(QPOPPER_SERVERMODE)
CONFIGURE_ARGS+= --enable-servermode
.endif
.if defined(USE_INET6) && ${USE_INET6} == YES
CONFIGURE_ENV+= O_DEFS="${O_DEFS}" CFLAGS="-DINET6"
.endif
LIBS+= ${LDFLAGS}