Make it buildable if crypto bits are installed.

Submitted by:	bento
This commit is contained in:
Maxim Sobolev 2000-10-26 10:12:11 +00:00
parent dfcac308e2
commit ce4735d2c9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34251

View File

@ -20,10 +20,10 @@ USE_GNOME= yes
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
PYTHON_LIBS= -lutil -lreadline -lcrypt -lpython
.if exists(/usr/lib/libcrypto.a)
PYTHON_LIBS+= -lcrypto
PYTHON_LIBS= -lcrypto
.endif
PYTHON_LIBS+= -lutil -lreadline -lcrypt -lpython
pre-patch:
@${PERL} -pi -e 's|-lpthread|-pthread|g ; \