aboutsummaryrefslogtreecommitdiff
path: root/package/netsnmp/netsnmp.mk
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <jacmet@sunsite.dk>2008-12-28 20:07:50 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2008-12-28 20:07:50 +0000
commit3904aeee89746ebcbc74b613b29e02d41f358880 (patch)
treeb5d8c1d1d0bcc3c5ff0f90168b823e90a0ff09cc /package/netsnmp/netsnmp.mk
parent5d2ca232ceede1b2ec69414e6c6ca9a032a4c7a0 (diff)
downloadbuildroot-3904aeee89746ebcbc74b613b29e02d41f358880.tar.gz
buildroot-3904aeee89746ebcbc74b613b29e02d41f358880.tar.bz2
netsnmp: don't list openssl as a hard dependency
netsnmp can be compiled without ssl support, so don't list it as a hard dependency and only compile in support if enabled by the user.
Diffstat (limited to 'package/netsnmp/netsnmp.mk')
-rw-r--r--package/netsnmp/netsnmp.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk
index 47ef40f1b4..b7b2b14015 100644
--- a/package/netsnmp/netsnmp.mk
+++ b/package/netsnmp/netsnmp.mk
@@ -130,7 +130,7 @@ endif
$(INSTALL) -D -m 0644 $(NETSNMP_DIR)/agent/mibgroup/header_complex.h $(STAGING_DIR)/usr/include/net-snmp/agent/header_complex.h
$(INSTALL) -D -m 0755 package/netsnmp/S59snmpd $(TARGET_DIR)/etc/init.d/S59snmpd
-netsnmp: openssl $(TARGET_DIR)/usr/sbin/snmpd
+netsnmp: $(if $(BR2_PACKAGE_OPENSSL),openssl) $(TARGET_DIR)/usr/sbin/snmpd
netsnmp-headers: $(TARGET_DIR)/usr/include/net-snmp/net-snmp-config.h
$(INSTALL) -d $(TARGET_DIR)/usr/include/net-snmp