diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/esniper/Makefile | 3 | ||||
-rw-r--r-- | misc/gkrellm-helium/Makefile | 1 | ||||
-rw-r--r-- | misc/sword/Makefile | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/misc/esniper/Makefile b/misc/esniper/Makefile index 6d0622559066..11c9afa93e41 100644 --- a/misc/esniper/Makefile +++ b/misc/esniper/Makefile @@ -25,6 +25,9 @@ PLIST_FILES= bin/esniper PORTEXAMPLES= sample_auction.txt sample_config.txt +post-patch: + @${REINPLACE_CMD} -e '/<curl\/types.h>/d' ${WRKSRC}/http.c + post-install: .if !defined(NOPORTEXAMPLES) ${MKDIR} ${EXAMPLESDIR} diff --git a/misc/gkrellm-helium/Makefile b/misc/gkrellm-helium/Makefile index d818a6d5d114..df964a385ed9 100644 --- a/misc/gkrellm-helium/Makefile +++ b/misc/gkrellm-helium/Makefile @@ -28,5 +28,6 @@ post-patch: @${REINPLACE_CMD} -e 's|/usr/local/lib/gkrellm2/plugins|${PREFIX}/libexec/gkrellm2/plugins| ; \ s|CFLAGS =|CFLAGS?=| ; s|-lcurl|-lcurl -L${LOCALBASE}/lib|' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|ulong|u_long|' ${WRKSRC}/*.c + @${REINPLACE_CMD} -e '/<curl\/types.h>/d' ${WRKSRC}/http_net.c .include <bsd.port.mk> diff --git a/misc/sword/Makefile b/misc/sword/Makefile index 749ac5265ca4..6f9807fccf9c 100644 --- a/misc/sword/Makefile +++ b/misc/sword/Makefile @@ -51,6 +51,8 @@ post-patch: @${REINPLACE_CMD} -e 's|:=|=|' ${WRKSRC}/Makefile.am \ ${WRKSRC}/Makefile.in ${WRKSRC}/lib/Makefile.am \ ${WRKSRC}/lib/Makefile.in + @${REINPLACE_CMD} -e '/<curl\/types.h>/d' \ + ${WRKSRC}/src/mgr/curlhttpt.cpp ${WRKSRC}/src/mgr/curlftpt.cpp post-install: @${MKDIR} ${PREFIX}/share/sword/mods.d |