ports/emulators/virtualbox-ose/files/patch-configure
Beat Gaetzi f9297d2f2b - Fix build if OpenSSL is installed from ports. [1]
- Some options require other ones. Add check for them. [2]

PR:		ports/139391 [1]
Submitted by:	"Y.A." <nexther0 AT gmail.com> [1]
Tested by:	Yuri Gorchakov <yuri.gorchakov AT point-group.ru> [1]
Reported by:	Maxim <maksims.k AT gmail.com> [2]
On behalf of:	vbox@ (decke, dhn, itetcu, miwi, nox)
2009-10-23 14:29:50 +00:00

20 lines
791 B
Text

--- configure.orgi 2009-05-31 13:43:50.000000000 +0200
+++ configure 2009-05-31 13:45:47.000000000 +0200
@@ -102,7 +102,7 @@
XSLTPROC="xsltproc"
GENISOIMAGE="genisoimage"
MKISOFS="mkisofs"
-LIBCRYPTO="-lcrypto"
+LIBCRYPTO="-lcrypto -lssl"
LIBPTHREAD="-lpthread"
LIBCAP="-lcap"
GSOAP=""
@@ -1698,7 +1698,7 @@
cat $ODIR.tmp_src.cc >> $LOG
echo "using the following command line:" >> $LOG
echo "$CXX -O -Wall -o $ODIR.tmp_out $ODIR.tmp_src.cc -I$p/include/$d $p/$b/lib$d.so" >> $LOG
- $CXX -O -Wall -o $ODIR.tmp_out $ODIR.tmp_src.cc -I$p/include/$d $p/$b/lib$d.so >> $LOG 2>&1
+ $CXX -O -Wall -o $ODIR.tmp_out $ODIR.tmp_src.cc -I$p/include/$d $p/$b/lib$d.so -pthread >> $LOG 2>&1
if [ $? -eq 0 ]; then
found=1
break