aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-09-11 17:50:00 +0000
committerJohn Marino <marino@FreeBSD.org>2016-09-11 17:50:00 +0000
commitc953c421a3adcdfc2a61ffa58a78c76f3ca1b019 (patch)
treeade3e98da912bfb73b74c9c727c6df142811df65 /sysutils
parentec76fdf6e2878e0b7aa46cf973dd263298481dd9 (diff)
downloadports-c953c421a3adcdfc2a61ffa58a78c76f3ca1b019.tar.gz
ports-c953c421a3adcdfc2a61ffa58a78c76f3ca1b019.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/deltup/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysutils/deltup/Makefile b/sysutils/deltup/Makefile
index 7a568bc3c1bf..bd208c164218 100644
--- a/sysutils/deltup/Makefile
+++ b/sysutils/deltup/Makefile
@@ -25,9 +25,10 @@ BZIP2_102= 1.0.2
BZIP2_103= 1.0.3
USE_OPENSSL= yes
-USES= gmake
+USES= gmake ssl
ALL_TARGET= deltup
MAKE_ARGS= CC="${CC}" CXX="${CXX}" PREFIX="${PREFIX}"
+CXXFLAGS+= -I${OPENSSLINC}
PLIST_FILES= bin/deltup \
bin/bzip2_1.0.2 \
bin/bzip2_1.0.3 \
@@ -38,7 +39,8 @@ WRKSRC_BZIP2_103= ${WRKDIR}/bzip2-${BZIP2_103}
PORTDOCS= ChangeLog README
post-patch:
- @${REINPLACE_CMD} -e 's/CC/CXX/' -e 's,gcc,$${CXX},' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's/CC/CXX/' -e 's,gcc,$${CXX},' \
+ -e "s|\(-lcrypto\)|-L${OPENSSLLIB} \1|g" ${WRKSRC}/Makefile
pre-build:
@${REINPLACE_CMD} -e 's|-Wall -Winline -O2|-Wall -Winline -O2 ${CFLAGS}|' \