Module Name:    src
Committed By:   joerg
Date:           Thu May 28 10:44:30 UTC 2009

Modified Files:
        src/external/bsd/fetch/lib: Makefile

Log Message:
Allow building with MKCRYPTO=no.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/fetch/lib/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/fetch/lib/Makefile
diff -u src/external/bsd/fetch/lib/Makefile:1.2 src/external/bsd/fetch/lib/Makefile:1.3
--- src/external/bsd/fetch/lib/Makefile:1.2	Tue Nov 25 05:32:05 2008
+++ src/external/bsd/fetch/lib/Makefile	Thu May 28 10:44:29 2009
@@ -14,12 +14,15 @@
 CPPFLAGS+=	-DNETBSD 
 CPPFLAGS+=	-DFTP_COMBINE_CWDS
 CPPFLAGS+=	-DINET6
+
+.if (${MKCRYPTO} != "no")
 CPPFLAGS+=	-DWITH_SSL
 
 LDADD=		-lssl -lcrypto
 
 LIBDPLIBS+=	ssl	${NETBSDSRCDIR}/lib/libssl \
 		crypto	${NETBSDSRCDIR}/lib/libcrypto
+.endif
 
 CLEANFILES+=	ftperr.h httperr.h
 

Reply via email to