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

Collapse All | Expand All

(-)unbound/Makefile (-1 / +4 lines)
Lines 46-54 Link Here
46
46
47
.if ${PORT_OPTIONS:MPYTHON}
47
.if ${PORT_OPTIONS:MPYTHON}
48
USES+=		python:2
48
USES+=		python:2
49
LDFLAGS+=	-L${PYTHON_LIBDIR}
49
CONFIGURE_ARGS+=--with-pyunbound=yes --with-pythonmodule=yes
50
CONFIGURE_ARGS+=--with-pyunbound=yes --with-pythonmodule=yes
50
BUILD_DEPENDS+=	swig:${PORTSDIR}/devel/swig13
51
BUILD_DEPENDS+=	swig:${PORTSDIR}/devel/swig13
51
BROKEN=	Does not build
52
PYTHON=
52
PYTHON=
53
.else
53
.else
54
PYTHON=		"@comment "
54
PYTHON=		"@comment "
Lines 103-108 Link Here
103
	@for s in ${STRIP_FILES}; do ${STRIP_CMD} ${WRKSRC}/$$s; done
103
	@for s in ${STRIP_FILES}; do ${STRIP_CMD} ${WRKSRC}/$$s; done
104
104
105
post-install:
105
post-install:
106
.if ${PORT_OPTIONS:MPYTHON}
107
	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_unbound.so
108
.endif
106
.if ${PORT_OPTIONS:MMUNIN}
109
.if ${PORT_OPTIONS:MMUNIN}
107
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/munin/plugins
110
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/munin/plugins
108
	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/munin/plugins
111
	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/munin/plugins
(-)unbound/pkg-plist (-3 lines)
Lines 48-57 Link Here
48
sbin/unbound-control
48
sbin/unbound-control
49
sbin/unbound-control-setup
49
sbin/unbound-control-setup
50
sbin/unbound-host
50
sbin/unbound-host
51
%%PYTHON%%%%PYTHON_SITELIBDIR%%/_unbound.a
52
%%PYTHON%%%%PYTHON_SITELIBDIR%%/_unbound.so
51
%%PYTHON%%%%PYTHON_SITELIBDIR%%/_unbound.so
53
%%PYTHON%%%%PYTHON_SITELIBDIR%%/_unbound.so.2
54
%%PYTHON%%%%PYTHON_SITELIBDIR%%/_unbound.so.2.3.3
55
%%PYTHON%%%%PYTHON_SITELIBDIR%%/unbound.py
52
%%PYTHON%%%%PYTHON_SITELIBDIR%%/unbound.py
56
%%PYTHON%%%%PYTHON_SITELIBDIR%%/unboundmodule.py
53
%%PYTHON%%%%PYTHON_SITELIBDIR%%/unboundmodule.py
57
%%MUNIN%%etc/munin/plugins/unbound_munin_by_class
54
%%MUNIN%%etc/munin/plugins/unbound_munin_by_class

Return to bug 195803