diff options
author | taca <taca@pkgsrc.org> | 2005-06-13 16:57:02 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2005-06-13 16:57:02 +0000 |
commit | 4db13197c4378f06ec76f8e8c1659661b8dfde0e (patch) | |
tree | a0f5a99c21a94bed2b2c466103652684fe2ef4ab | |
parent | 0446b0862f5d59020a637ad00232d6529aae46e5 (diff) | |
download | pkgsrc-4db13197c4378f06ec76f8e8c1659661b8dfde0e.tar.gz |
- Update Makefile along with qpopper/Makefile.common.
- Introduce poppassd own options.mk.
No functional change to poppassd pkgsrc itself and this should fix
poppassd build problem reported by Martti Kuparinen on tech-pkg@.
-rw-r--r-- | mail/poppassd/Makefile | 8 | ||||
-rw-r--r-- | mail/poppassd/options.mk | 12 |
2 files changed, 19 insertions, 1 deletions
diff --git a/mail/poppassd/Makefile b/mail/poppassd/Makefile index ad6a07f31d5..fe7da5f8fee 100644 --- a/mail/poppassd/Makefile +++ b/mail/poppassd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2005/06/01 21:00:39 adrianp Exp $ +# $NetBSD: Makefile,v 1.17 2005/06/13 16:57:02 taca Exp $ # DISTNAME= qpopper${VERSION} @@ -6,6 +6,10 @@ PKGNAME= poppassd-${VERSION} CATEGORIES= mail MASTER_SITES= ${QPOPPER_MASTER_SITES} +PATCH_SITES= ${QPOPPER_PATCHSITES} +PATCHFILES= ${QPOPPER_PATCHFILES} +PATCH_DIST_STRIP= -p1 + MAINTAINER= mellon@fugue.com HOMEPAGE= ${QPOPPER_HOMEPAGE} COMMENT= Qualcomm's password change server mainly for Eudora @@ -16,6 +20,8 @@ CONFIGURE_ARGS+= --enable-poppassd CONFIGURE_ENV+= CDEFS='-DSMBPASSWD_BINARY=\"${LOCALBASE}/bin/smbpasswd\"' MAKE_ENV+= ROOT_USER=${ROOT_USER} ROOT_GROUP=${ROOT_GROUP} +.include "options.mk" + do-build: .for DIR in common password cd ${WRKSRC}/${DIR}; ${SETENV} ${MAKE_ENV} \ diff --git a/mail/poppassd/options.mk b/mail/poppassd/options.mk new file mode 100644 index 00000000000..9f5fe56bd40 --- /dev/null +++ b/mail/poppassd/options.mk @@ -0,0 +1,12 @@ +# $NetBSD: options.mk,v 1.1 2005/06/13 16:57:02 taca Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.poppassd +PKG_SUPPORTED_OPTIONS= inet6 + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Minet6) +CONFIGURE_ENV+= O_DEFS="${O_DEFS}" CFLAGS="-DINET6" +.else +CONFIGURE_ARGS+= --disable-ipv6 +.endif |