diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2022-03-22 00:06:18 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2022-03-22 00:07:11 +0000 |
commit | 929ed699367f119574a299b211b395ac2b2d74c9 (patch) | |
tree | 6c5fc072fecf166a37bcbd209eaf721c6647f2d2 /biology | |
parent | 85b4455f5ac953990622f8ca8d2d9f01f32bb738 (diff) | |
download | ports-929ed699367f119574a299b211b395ac2b2d74c9.tar.gz ports-929ed699367f119574a299b211b395ac2b2d74c9.zip |
biology/dsr-pdb: Remove -pg (mcount instrumentation) flag
This causes failure on aarch64: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262709
Diffstat (limited to 'biology')
-rw-r--r-- | biology/dsr-pdb/Makefile | 5 | ||||
-rw-r--r-- | biology/dsr-pdb/files/patch-lib_Makefile.in | 13 |
2 files changed, 16 insertions, 2 deletions
diff --git a/biology/dsr-pdb/Makefile b/biology/dsr-pdb/Makefile index c73b661acd4f..b17e471da589 100644 --- a/biology/dsr-pdb/Makefile +++ b/biology/dsr-pdb/Makefile @@ -1,6 +1,6 @@ PORTNAME= dsr-pdb DISTVERSION= 1.0.3 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= biology MASTER_SITES= https://graphics.stanford.edu/~drussel/ DISTNAME= ${PORTNAME} @@ -17,9 +17,10 @@ BROKEN_aarch64= ld: error: undefined symbol: .mcount (see bug#262709) LIB_DEPENDS= libboost_program_options.so:devel/boost-libs USES= compiler:c++11-lang gmake libtool localbase:ldflags tar:tgz -GNU_CONFIGURE= yes USE_LDCONFIG= yes +GNU_CONFIGURE= yes + WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} CXXFLAGS+= -fPIC --std=c++11 # libboost_program_options.so isn't found without --std=c++11 diff --git a/biology/dsr-pdb/files/patch-lib_Makefile.in b/biology/dsr-pdb/files/patch-lib_Makefile.in new file mode 100644 index 000000000000..58a5ed2003b5 --- /dev/null +++ b/biology/dsr-pdb/files/patch-lib_Makefile.in @@ -0,0 +1,13 @@ +- workaround for https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262709 + +--- lib/Makefile.in.orig 2022-03-22 00:02:00 UTC ++++ lib/Makefile.in +@@ -180,7 +180,7 @@ sysconfdir = @sysconfdir@ + target_alias = @target_alias@ + lib_LTLIBRARIES = libdsrpdb.la + noinst_HEADERS = pdb_utils.h Residue_data.h +-AM_CPPFLAGS = -I../include -pg ++AM_CPPFLAGS = -I../include + libdsrpdb_la_SOURCES = Residue.cc Protein.cc Residue_data.cc Protein_pdb.cc pdb_utils.cc Model.cc PDB.cc align.cc distance.cc Error_logger.cc + libdsrpdb_la_LDFLAGS = -static + all: all-am |