pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bitcoin: Prune/fix flags and add comments
Module Name: pkgsrc-wip
Committed By: Greg Troxel <gdt%ir.bbn.com@localhost>
Pushed By: gdt
Date: Mon Nov 28 16:14:50 2016 -0500
Changeset: 26a47c17272f613f90317a2c02086420efaaf44e
Modified Files:
bitcoin/Makefile
Log Message:
bitcoin: Prune/fix flags and add comments
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=26a47c17272f613f90317a2c02086420efaaf44e
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
bitcoin/Makefile | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diffs:
diff --git a/bitcoin/Makefile b/bitcoin/Makefile
index 49f8953..e8e38fc 100644
--- a/bitcoin/Makefile
+++ b/bitcoin/Makefile
@@ -22,12 +22,6 @@ CFLAGS+= -fPIC
# TODO: Explain why this is necessary.
CXXFLAGS+= -std=c++0x
-# TODO: Explain why these are necessary.
-CPPFLAGS+= -I${BUILDLINK_PREFIX.boost-headers}/include/boost, -Wl,-R${BUILDLINK_PREFIX.boost-libs}/lib/bitcoin
-CPPFLAGS+= -L${BUILDLINK_PREFIX.boost-libs}/lib/bitcoin
-CFLAGS+= -Wl,-R${BUILDLINK_PREFIX.boost-libs}/lib/bitcoin -L${BUILDLINK_PREFIX.boost-libs}/lib/bitcoin
-CXXFLAGS+= -Wl,-R${BUILDLINK_PREFIX.boost-libs}/lib/bitcoin -L${BUILDLINK_PREFIX.boost-libs}/lib/bitcoin
-
# configure does not look in PREFIX for boost unless instructed.
CONFIGURE_ARGS+= --with-boost=${BUILDLINK_PREFIX.boost-libs}
# TODO: Explain why this is necessary; the -I of the include dir
@@ -40,6 +34,10 @@ CONFIGURE_ARGS+= --enable-hardening
# pkgsrc's db4 package installs as db4_, but bitcoin looks for db_.
BUILDLINK_TRANSFORM+= l:db_cxx:db4_cxx
+# TODO: (After updating,) file bug with bitcoin about not having
+# proper RPATH to its own libary.
+LDFLAGS+= -Wl,-R${PREFIX}/lib/bitcoin -L${PREFIX}/lib/bitcoin
+
RCD_SCRIPTS= bitcoind
BUILD_DEFS+= VARBASE
OWN_DIRS= ${VARBASE}/bitcoin
- Prev by Date:
bitcoin: reorganize {CPP,C,CXX}FLAGS
- Next by Date:
Finally all seafile packages built without warnings. Refactored all packages, switched to Github release tag, fixed interpreter errors, cleanup buildlink3s and makefiles.
- Previous by Thread:
bitcoin: reorganize {CPP,C,CXX}FLAGS
- Next by Thread:
Finally all seafile packages built without warnings. Refactored all packages, switched to Github release tag, fixed interpreter errors, cleanup buildlink3s and makefiles.
- Indexes:
Home |
Main Index |
Thread Index |
Old Index