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${LOCALBASE}/lib |
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 |