Changeset 31829 for main/trunk/greenstone2/build-src/packages/configure
- Timestamp:
- 2017-07-28T18:53:37+12:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/build-src/packages/configure
r31824 r31829 150 150 cd "$PACKAGES/openssl" 151 151 openssl_pkgname=openssl-1.0.2l 152 #openssl_pkgname=openssl-1.1.0f 152 153 if test ! -d $openssl_pkgname ; 153 154 then … … 158 159 # configure 159 160 # see the INSTALL file for OpenSSL to see config options for openssl 161 # If you ever want to have the .a libraries that building openssl generates, 162 # then use the --prefix and point it to the $bindir. 160 163 # --prefix indicates where the generated lib, include and bin folders will go 161 164 # --openssldir will contain the manuals and other non-essentials … … 248 251 249 252 # configure wget 253 wget_pkgname=wget-1.15-gs 254 #wget_pkgname=wget-1.17.1-gs 250 255 echo "" 251 256 echo "Configuring wget" 252 257 echo "" 253 258 cd "$PACKAGES/wget" 254 gzip -dc wget-1.15-gs.tar.gz | tar -xf -259 gzip -dc $wget_pkgname.tar.gz | tar -xf - 255 260 if test x$crossOS = "xandroid" ; 256 261 then … … 260 265 fi 261 266 267 # When compiling wget-1.15-gs without openssl as before: 262 268 #./configure $CACHE_FILE --prefix=$PACKAGES/wget --without-ssl --bindir="$bindir" -disable-nls $HOSTTARGETFLAGS $wget_extraargs 263 269 264 # We weren't compiling up wget statically before either 270 # We weren't compiling up wget statically before either and we still aren't 265 271 # However, to compile up wget (statically or not) with openssl, see 266 272 # https://stackoverflow.com/questions/9817337/compiling-wget-with-static-linking-self-compiled-openssl-library-linking-issu 267 # Note: if the cppflags and ldflags are set during the configure stage, as we now do, 268 # then the make command needn't additionally set them as well. So just make, make install then works 269 echo cd "$PACKAGES/wget/wget-1.15-gs" 270 echo CPPFLAGS="-I/$bindir/openssl/include" LDFLAGS="-L/$bindir/openssl/lib" ./configure $CACHE_FILE --prefix=$PACKAGES/wget --with-ssl=openssl --bindir="$bindir" -disable-nls $HOSTTARGETFLAGS $wget_extraargs 271 cd "$PACKAGES/wget/wget-1.15-gs" && \ 273 # Note: contrary to the instructions at the link, if the cppflags and ldflags are set during the 274 # configure stage, as we now do, then the make command needn't additionally set them as well. 275 # So just make, make install works thereafter 276 277 echo copying "$PACKAGES/wget/wgetrc-gs.in" file to "$bindir/wgetrc" 278 cp "$PACKAGES/wget/wgetrc-gs.in" "$bindir/wgetrc" 279 echo cd "$PACKAGES/wget/$wget_pkgname" 280 281 # for wget-1.15-gs. (can also try adding --localstatedir="$bindir/wget" --enable-iri) 282 echo CPPFLAGS="-I/$bindir/openssl/include" LDFLAGS="-L/$bindir/openssl/lib" ./configure $CACHE_FILE --prefix=$PACKAGES/wget --with-ssl=openssl --bindir="$bindir" -disable-nls $HOSTTARGETFLAGS $wget_extraarg 283 cd "$PACKAGES/wget/$wget_pkgname" && \ 272 284 CPPFLAGS="-I/$bindir/openssl/include" LDFLAGS="-L/$bindir/openssl/lib" ./configure $CACHE_FILE --prefix=$PACKAGES/wget --with-ssl=openssl --bindir="$bindir" -disable-nls $HOSTTARGETFLAGS $wget_extraargs 273 285 286 # for wget-1.17.1-gs. (can also try adding --localstatedir="$bindir/wget" --enable-iri) 287 #echo OPENSSL_CFLAGS="-I/$bindir/openssl/include" OPENSSL_LIBS="-L/$bindir/openssl/lib -lssl -lcrypto" ./configure $CACHE_FILE --prefix=$PACKAGES/wget --with-ssl=openssl --with-openssl=auto --with-libssl-prefix="$bindir/openssl" --bindir="$bindir" -disable-nls $HOSTTARGETFLAGS $wget_extraargs 288 #cd "$PACKAGES/wget/$wget_pkgname" && \ 289 #OPENSSL_CFLAGS="-I/$bindir/openssl/include" OPENSSL_LIBS="-L/$bindir/openssl/lib -lssl -lcrypto" ./configure $CACHE_FILE --prefix=$PACKAGES/wget --with-ssl=openssl --with-openssl=auto --with-libssl-prefix="$bindir/openssl" --bindir="$bindir" -disable-nls $HOSTTARGETFLAGS $wget_extraargs 274 290 275 291 ##
Note:
See TracChangeset
for help on using the changeset viewer.