summaryrefslogtreecommitdiff
path: root/net-p2p/createtorrent
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/createtorrent')
-rw-r--r--net-p2p/createtorrent/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/net-p2p/createtorrent/Makefile b/net-p2p/createtorrent/Makefile
index f7f99cb537d1..1d42535da993 100644
--- a/net-p2p/createtorrent/Makefile
+++ b/net-p2p/createtorrent/Makefile
@@ -16,6 +16,9 @@ USE_OPENSSL= yes
PLIST_FILES= bin/createtorrent
+post-patch:
+ @${REINPLACE_CMD} 's/-lssl/-lcrypto/' ${WRKSRC}/configure
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin