aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2011-01-04 16:25:30 +0800
committerhrs <hrs@FreeBSD.org>2011-01-04 16:25:30 +0800
commitc908935d67ba9587130c11b6283bccc17cc67651 (patch)
treedb41b1274d72cde5d1319a84676019464f19169f /multimedia
parent82b6a113f2ef414a992973a2498ddb67121c1f3c (diff)
downloadfreebsd-ports-graphics-c908935d67ba9587130c11b6283bccc17cc67651.tar.gz
freebsd-ports-graphics-c908935d67ba9587130c11b6283bccc17cc67651.tar.zst
freebsd-ports-graphics-c908935d67ba9587130c11b6283bccc17cc67651.zip
Support OpenSSL installed from the Ports Collection.
Submitted by: Peter Pentchev
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/rtmpdump/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/multimedia/rtmpdump/Makefile b/multimedia/rtmpdump/Makefile
index 88524fce1dd..ab30aed41f1 100644
--- a/multimedia/rtmpdump/Makefile
+++ b/multimedia/rtmpdump/Makefile
@@ -19,6 +19,7 @@ MAN8= rtmpgw.8
USE_GNOME= pkgconfig
USE_LDCONFIG= yes
+USE_OPENSSL= yes
MAKE_ENV= CFLAGS="${PTHREAD_CFLAGS}" THREADLIB="${PTHREAD_LIBS}"
PORTDOCS= ChangeLog README
@@ -28,6 +29,11 @@ PORTDOCS= ChangeLog README
BROKEN= does not compile on 6.X
.endif
+.if ${OPENSSLBASE} != "/usr"
+CFLAGS+= -I${OPENSSLINC}
+LDFLAGS+= -L${OPENSSLLIB}
+.endif
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}