View | Details | Raw Unified | Return to bug 207507 | Differences between
and this patch

Collapse All | Expand All

(-)racoon2/Makefile (-18 / +23 lines)
Lines 20-57 Link Here
20
CONFIGURE_ARGS+=	--sysconfdir=${PREFIX}/etc/racoon2
20
CONFIGURE_ARGS+=	--sysconfdir=${PREFIX}/etc/racoon2
21
CONFIGURE_ENV=	YACC=/usr/bin/yacc
21
CONFIGURE_ENV=	YACC=/usr/bin/yacc
22
22
23
OPTIONS_DEFINE=	KINK DOCS
23
OPTIONS_DEFINE=	DOCS
24
KINK_DESC=	Enable KINK support
24
OPTIONS_RADIO=	KERBEROS
25
25
OPTIONS_RADIO_KERBEROS=	MIT HEIMDAL HEIMDAL_BASE
26
HEIMDAL_DESC=		Heimdal Kerberos (security/heimdal)
27
HEIMDAL_BASE_DESC=	Heimdal Kerberos (base)
28
29
MIT_DESC=		MIT Kerberos (security/krb5)
30
MIT_LIB_DEPENDS=	libkrb5.so.3:${PORTSDIR}/security/krb5
31
HEIMDAL_LIB_DEPENDS=	libkrb5.so.26:${PORTSDIR}/security/heimdal
26
.include <bsd.port.pre.mk>
32
.include <bsd.port.pre.mk>
27
33
28
PLIST_SUB+=	PFX=${PREFIX}
34
PLIST_SUB+=	PFX=${PREFIX}
29
35
30
pre-configure:
36
pre-configure:
31
.if ${PORT_OPTIONS:MKINK}
37
.if ${PORT_OPTIONS:MDOCS}
32
.if !exists(/usr/lib/libkrb5.a)
38
PORTDOCS+=	INSTALL USAGE config-usage.ja.txt config-usage.txt
33
	@${ECHO_MSG} 'Required Kerberos5 is not in this system.  Disable KINK support.'
39
PORTDOCS+=	iked-memo.ja.txt libracoon.ja.txt specification.ja.txt
34
CONFIGURE_ARGS+=	--disable-kinkd
40
PORTDOCS+=	spmif.txt style.txt system-message.ja.txt
35
PLIST_SUB+=	KINK="@comment "
41
.endif
36
.else
42
43
.if ${PORT_OPTIONS:MHEIMDAL_BASE} || ${PORT_OPTIONS:MHEIMDAL} || ${PORT_OPTIONS:MMIT}
44
.if ${PORT_OPTIONS:MHEIMDAL} || ${PORT_OPTIONS:MMIT}
45
CPPFLAGS+=	-I${LOCALBASE}/include
46
LDFLAGS+=	-L${LOCALBASE}/lib
47
.endif
37
CONFIGURE_ARGS+=	--enable-kinkd
48
CONFIGURE_ARGS+=	--enable-kinkd
38
MAKE_ENV=	WITH_KINK=yes
49
MAKE_ENV=	WITH_KINK=yes
39
PLIST_SUB+=	KINK=""
50
PLIST_SUB+=	KINK=""
51
.if ${PORT_OPTIONS:MDOCS}
52
PORTDOCS+=	kinkd-data-struct.obj kinkd-impl.ja.txt
53
PORTDOCS+=	kinkd-install.ja.txt kinkd-state-txn.obj
40
.endif
54
.endif
41
.else
55
.else
42
CONFIGURE_ARGS+=	--disable-kinkd
56
CONFIGURE_ARGS+=	--disable-kinkd
43
PLIST_SUB+=	KINK="@comment "
57
PLIST_SUB+=	KINK="@comment "
44
.endif
58
.endif
45
59
46
.if ${PORT_OPTIONS:MDOCS}
47
PORTDOCS+=	INSTALL USAGE config-usage.ja.txt config-usage.txt
48
PORTDOCS+=	iked-memo.ja.txt libracoon.ja.txt specification.ja.txt
49
PORTDOCS+=	spmif.txt style.txt system-message.ja.txt
50
.if ${PORT_OPTIONS:MKINK}
51
PORTDOCS+=	kinkd-data-struct.obj kinkd-impl.ja.txt
52
PORTDOCS+=	kinkd-install.ja.txt kinkd-state-txn.obj
53
.endif
54
.endif
55
60
56
post-patch-DOCS-on:
61
post-patch-DOCS-on:
57
.for FILE in ${PORTDOCS}
62
.for FILE in ${PORTDOCS}

Return to bug 207507