Lines 46-51
LIB_DEPENDS+= libssl.so:${PORTSDIR}/secu
Link Here
|
46 |
BUILD_DEPENDS+= gperf:${PORTSDIR}/devel/gperf |
46 |
BUILD_DEPENDS+= gperf:${PORTSDIR}/devel/gperf |
47 |
.endif |
47 |
.endif |
48 |
|
48 |
|
|
|
49 |
.include <bsd.port.pre.mk> |
50 |
|
49 |
post-patch: |
51 |
post-patch: |
50 |
@${REINPLACE_CMD} '/^NSFB_LINUX_AVAILABLE/ s|yes|no| ; s| -g||' \ |
52 |
@${REINPLACE_CMD} '/^NSFB_LINUX_AVAILABLE/ s|yes|no| ; s| -g||' \ |
51 |
${WRKSRC}/src/libnsfb-${NSFB_VERSION}/Makefile |
53 |
${WRKSRC}/src/libnsfb-${NSFB_VERSION}/Makefile |
Lines 53-59
post-patch:
Link Here
|
53 |
${WRKSRC}/src/libnsfb-${NSFB_VERSION}/src/plot/*bpp*.c |
55 |
${WRKSRC}/src/libnsfb-${NSFB_VERSION}/src/plot/*bpp*.c |
54 |
@${REINPLACE_CMD} 's| -O2||' \ |
56 |
@${REINPLACE_CMD} 's| -O2||' \ |
55 |
${WRKSRC}/src/netsurf-${PORTVERSION}/gtk/Makefile.defaults |
57 |
${WRKSRC}/src/netsurf-${PORTVERSION}/gtk/Makefile.defaults |
56 |
@${REINPLACE_CMD} '/OpenSSL/d ; s| -g||' \ |
58 |
@${REINPLACE_CMD} '/OpenSSL/d ; s| -g|| ; s|-DG_DISABLE_DEPRECATED||' \ |
57 |
${WRKSRC}/src/netsurf-${PORTVERSION}/gtk/Makefile.target |
59 |
${WRKSRC}/src/netsurf-${PORTVERSION}/gtk/Makefile.target |
58 |
@${REINPLACE_CMD} -e '/ifeq.*clang/s/word 1/filter clang/' \ |
60 |
@${REINPLACE_CMD} -e '/ifeq.*clang/s/word 1/filter clang/' \ |
59 |
${WRKSRC}/src/buildsystem-1.0/makefiles/Makefile.tools |
61 |
${WRKSRC}/src/buildsystem-1.0/makefiles/Makefile.tools |
Lines 62-67
post-patch:
Link Here
|
62 |
|
64 |
|
63 |
do-configure: |
65 |
do-configure: |
64 |
@${CP} ${FILESDIR}/Makefile.config ${WRKSRC}/src/netsurf-${PORTVERSION} |
66 |
@${CP} ${FILESDIR}/Makefile.config ${WRKSRC}/src/netsurf-${PORTVERSION} |
|
|
67 |
.if empty(ICONV_LIB) |
68 |
@${REINPLACE_CMD} '/NETSURF_USE_LIBICONV_PLUG/ s|NO|YES|' \ |
69 |
${WRKSRC}/src/netsurf-${PORTVERSION}/Makefile.config |
70 |
.endif |
65 |
.if ${PORT_OPTIONS:MGSTREAMER} |
71 |
.if ${PORT_OPTIONS:MGSTREAMER} |
66 |
@${REINPLACE_CMD} '/NETSURF_USE_VIDEO/ s|NO|YES|' \ |
72 |
@${REINPLACE_CMD} '/NETSURF_USE_VIDEO/ s|NO|YES|' \ |
67 |
${WRKSRC}/src/netsurf-${PORTVERSION}/Makefile.config |
73 |
${WRKSRC}/src/netsurf-${PORTVERSION}/Makefile.config |
Lines 71-74
do-configure:
Link Here
|
71 |
${WRKSRC}/src/netsurf-${PORTVERSION}/Makefile.config |
77 |
${WRKSRC}/src/netsurf-${PORTVERSION}/Makefile.config |
72 |
.endif |
78 |
.endif |
73 |
|
79 |
|
74 |
.include <bsd.port.mk> |
80 |
.include <bsd.port.post.mk> |