aboutsummaryrefslogtreecommitdiff
path: root/www/libmicrohttpd/Makefile
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-12-13 07:27:20 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-12-13 07:27:20 +0000
commitc6e26fd95dfac6061a90fef810781cd521c0e87b (patch)
tree8cc7ab41023c348c2c7bff18cd37ff3950a27514 /www/libmicrohttpd/Makefile
parent95cc945501805fd3c11a8f2a1fc4fd9a08ae38df (diff)
downloadports-c6e26fd95dfac6061a90fef810781cd521c0e87b.tar.gz
ports-c6e26fd95dfac6061a90fef810781cd521c0e87b.zip
Notes
Diffstat (limited to 'www/libmicrohttpd/Makefile')
-rw-r--r--www/libmicrohttpd/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/libmicrohttpd/Makefile b/www/libmicrohttpd/Makefile
index f7d1249f4e62..adf96623425b 100644
--- a/www/libmicrohttpd/Makefile
+++ b/www/libmicrohttpd/Makefile
@@ -31,6 +31,9 @@ PLIST_FILES= include/microhttpd.h \
libdata/pkgconfig/libmicrohttpd.pc \
man/man3/libmicrohttpd.3.gz
+post-patch:
+ @${REINPLACE_CMD} -e 's|-ldl|-lc|' ${WRKSRC}/src/examples/Makefile.in
+
post-build:
@${STRIP_CMD} ${WRKSRC}/src/microhttpd/.libs/libmicrohttpd.so.30