Lines 71-87
Link Here
|
71 |
.if defined(WITHOUT_SSL) |
71 |
.if defined(WITHOUT_SSL) |
72 |
CONFIGURE_ARGS+= --without-openssl |
72 |
CONFIGURE_ARGS+= --without-openssl |
73 |
.else |
73 |
.else |
74 |
.if defined(WITH_PORTSSL) || ${OSVERSION} >= 500100 || (${OSVERSION} >= 470103 && ${OSREL} == 4) |
74 |
USE_OPENSSL= YES |
75 |
.if ${OSVERSION} >= 500100 || (${OSVERSION} >= 470103 && ${OSREL} == 4) |
|
|
76 |
LIB_DEPENDS+= crypto.4:${PORTSDIR}/security/openssl |
77 |
.else |
78 |
LIB_DEPENDS+= crypto.3:${PORTSDIR}/security/openssl |
79 |
.endif |
80 |
CONFIGURE_ARGS+= --with-openssl=${LOCALBASE} |
81 |
CFLAGS+= -DOPENSSL_DES_LIBDES_COMPATIBILITY |
82 |
.else |
83 |
CONFIGURE_ARGS+= --with-openssl=/usr |
75 |
CONFIGURE_ARGS+= --with-openssl=/usr |
84 |
.endif |
76 |
CFLAGS+= -DOPENSSL_DES_LIBDES_COMPATIBILITY |
85 |
.endif |
77 |
.endif |
86 |
|
78 |
|
87 |
SHLIB_VERSION= 4 |
79 |
SHLIB_VERSION= 4 |
Lines 89-95
Link Here
|
89 |
|
81 |
|
90 |
pre-everything:: |
82 |
pre-everything:: |
91 |
@${ECHO} "" |
83 |
@${ECHO} "" |
92 |
@${ECHO} "You may use the following build options:" |
84 |
@${ECHO} "You may use the following build option(s):" |
93 |
@${ECHO} "" |
85 |
@${ECHO} "" |
94 |
@${ECHO} " WITH_PORTSSL=yes Use the OpenSSL Version delivered by the ports." |
86 |
@${ECHO} " WITH_PORTSSL=yes Use the OpenSSL Version delivered by the ports." |
95 |
@${ECHO} " With FreeBSD 5, net-snmp4 requires automaticly" |
87 |
@${ECHO} " With FreeBSD 5, net-snmp4 requires automaticly" |