FreeBSD Bugzilla – Attachment 150400 Details for
Bug 195803
dns/unbound build fails on python support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch (since 374343 revision)
unbound_1.5.1.diff (text/plain), 1.33 KB, created by
lightside
on 2014-12-09 15:03:50 UTC
(
hide
)
Description:
Proposed patch (since 374343 revision)
Filename:
MIME Type:
Creator:
lightside
Created:
2014-12-09 15:03:50 UTC
Size:
1.33 KB
patch
obsolete
>diff -ruN unbound.orig/Makefile unbound/Makefile >--- unbound.orig/Makefile 2014-12-09 06:18:01.000000000 +0400 >+++ unbound/Makefile 2014-12-09 17:46:40.000000000 +0400 >@@ -46,9 +46,9 @@ > > .if ${PORT_OPTIONS:MPYTHON} > USES+= python:2 >+LDFLAGS+= -L${LOCALBASE}/lib > CONFIGURE_ARGS+=--with-pyunbound=yes --with-pythonmodule=yes > BUILD_DEPENDS+= swig:${PORTSDIR}/devel/swig13 >-BROKEN= Does not build > PYTHON= > .else > PYTHON= "@comment " >@@ -103,6 +103,9 @@ > @for s in ${STRIP_FILES}; do ${STRIP_CMD} ${WRKSRC}/$$s; done > > post-install: >+.if ${PORT_OPTIONS:MPYTHON} >+ @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_unbound.so >+.endif > .if ${PORT_OPTIONS:MMUNIN} > @${MKDIR} ${STAGEDIR}${PREFIX}/share/munin/plugins > @${MKDIR} ${STAGEDIR}${PREFIX}/etc/munin/plugins >diff -ruN unbound.orig/pkg-plist unbound/pkg-plist >--- unbound.orig/pkg-plist 2014-12-05 22:52:53.000000000 +0400 >+++ unbound/pkg-plist 2014-12-09 14:58:46.000000000 +0400 >@@ -48,10 +48,7 @@ > sbin/unbound-control > sbin/unbound-control-setup > sbin/unbound-host >-%%PYTHON%%%%PYTHON_SITELIBDIR%%/_unbound.a > %%PYTHON%%%%PYTHON_SITELIBDIR%%/_unbound.so >-%%PYTHON%%%%PYTHON_SITELIBDIR%%/_unbound.so.2 >-%%PYTHON%%%%PYTHON_SITELIBDIR%%/_unbound.so.2.3.3 > %%PYTHON%%%%PYTHON_SITELIBDIR%%/unbound.py > %%PYTHON%%%%PYTHON_SITELIBDIR%%/unboundmodule.py > %%MUNIN%%etc/munin/plugins/unbound_munin_by_class
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 195803
:
150341
|
150397
|
150398
|
150399
|
150400
|
150425