Commits

Konstantin Nikiforov  committed fbd213d

some fixes for current bitcoin

  • Participants
  • Parent commits 362b7e7

Comments (0)

Files changed (2)

File bitcoin-git/PKGBUILD

 	
 	msg "Patching $makefile_unix..."
 	sed -i $makefile_unix \
+		-e 's/CXXFLAGS/CPPFLAGS/g' \
+		-e 's/-O[0-3]/${CXXFLAGS}/g' \
 		-e 's/\(-DNOPCH\)/\1 -DBOOST_FILESYSTEM_VERSION=2/' \
-		-e 's/-Bstatic/--as-needed ${LDFLAGS}/g' \
-		-e 's/\(USE_UPNP:=\)0/\11/' \
-		-e 's/$(DEBUGFLAGS)//g' \
-		-e 's/CXXFLAGS/CPPFLAGS/g' \
-		-e 's/-O[0-3]/${CXXFLAGS}/g'
+		-e 's/$(DEBUGFLAGS)//g'
 
 	# make bitcoind
-	make $MAKEFLAGS -f $makefile_unix bitcoind
+	make USE_UPNP=1 USE_SSL=1 $MAKEFLAGS -f $makefile_unix bitcoind
 
 	# and make qt gui
 	cd $src_qt

File bitcoin/PKGBUILD

 pkgdesc="Bitcoin is a peer-to-peer network based digital currency."
 arch=('i686' 'x86_64')
 url="http://www.bitcoin.org/"
-depends=('qt>=4.6' 'libpng>=1.4' 'expat' 'gcc-libs' 'boost-libs>=1.46' 'miniupnpc>=1.6' 'openssl')
+depends=('qt>=4.6' 'libpng>=1.4' 'expat' 'gcc-libs' 'boost-libs' 'miniupnpc>=1.6' 'openssl')
 makedepends=('boost' 'gcc' 'make' 'automoc4')
 conflicts=('bitcoin-bin' 'bitcoin-git' 'bitcoin-daemon')
 license=('MIT')
 
 	msg "Patching $makefile_unix..."
 	sed -i $makefile_unix \
-		-e 's/-Bstatic/--as-needed ${LDFLAGS}/g' \
+		-e 's/CXXFLAGS/CPPFLAGS/g' \
+		-e 's/-O[0-3]/${CXXFLAGS}/g' \
 		-e 's/\(-DNOPCH\)/\1 -DBOOST_FILESYSTEM_VERSION=2/' \
-		-e 's/\(USE_UPNP:=\)0/\11/' \
-		-e 's/$(DEBUGFLAGS)//g' \
-		-e 's/CXXFLAGS/CPPFLAGS/g' \
-		-e 's/-O[0-3]/${CXXFLAGS}/g'
+		-e 's/$(DEBUGFLAGS)//g'
 
 	# make bitcoind
-	make $MAKEFLAGS -f $makefile_unix bitcoind
+	make USE_UPNP=1 USE_SSL=1 $MAKEFLAGS -f $makefile_unix bitcoind
 
 	# and make qt gui
 	cd $src_qt