ports/172897: [PATCH] net/haproxy-devel: Make OPENSSL an OPTION
Kubilay Kocak
koobs.freebsd at gmail.com
Sat Oct 20 05:40:01 UTC 2012
>Number: 172897
>Category: ports
>Synopsis: [PATCH] net/haproxy-devel: Make OPENSSL an OPTION
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Oct 20 05:40:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Kubilay Kocak
>Release: FreeBSD 9.0-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD freebsd-9-amd64 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Sat Jul 7 21:26:56 EST
>Description:
- Add OPENSSL option
- Sort OPTIONS section
- Whitespace alignment
- Remove USE_OPENSSL=1 from unconditional MAKE_ARGS
====[QA]====
portlint: WARN: only one MASTER_SITE configured
porttest: OK
redports: https://redports.org/buildarchive/20121020003945-49146/
============
Port maintainer (demon at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:
--- haproxy-devel-1.5.d12.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net/haproxy-devel/Makefile ./Makefile
--- /usr/ports/net/haproxy-devel/Makefile 2012-09-18 15:11:44.000000000 +1000
+++ ./Makefile 2012-10-20 16:31:08.000000000 +1100
@@ -23,17 +23,17 @@
SUB_FILES= pkg-message
MAN1= haproxy.1
-OPTIONS_DEFINE= PCRE
+OPTIONS_DEFINE= PCRE OPENSSL
OPTIONS_SINGLE= PCRE
OPTIONS_SINGLE_PCRE= DPCRE SPCRE
-DPCRE_DESC= Link dynamically
-SPCRE_DESC= Link statically
-OPTIONS_DEFAULT=PCRE DPCRE
+DPCRE_DESC= Link dynamically
+SPCRE_DESC= Link statically
+OPTIONS_DEFAULT= PCRE DPCRE OPENSSL
.include <bsd.port.options.mk>
MAKE_ARGS= TARGET=freebsd DEFINE=-DFREEBSD_PORTS USE_GETADDRINFO=1 \
- USE_OPENSSL=1 CC="${CC}" CFLAGS="${CFLAGS}"
+ CC="${CC}" CFLAGS="${CFLAGS}"
.if ${PORT_OPTIONS:MPCRE}
LIB_DEPENDS+= pcre:${PORTSDIR}/devel/pcre
@@ -46,6 +46,11 @@
.endif
.endif
+.if ${PORT_OPTIONS:MOPENSSL}
+USE_OPENSSL= yes
+MAKE_ARGS+= USE_OPENSSL=1
+.endif
+
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/haproxy ${PREFIX}/sbin/
@${INSTALL_MAN} ${WRKSRC}/doc/haproxy.1 ${MAN1PREFIX}/man/man1
--- haproxy-devel-1.5.d12.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list