biology/dsr-pdb: Remove -pg (mcount instrumentation) flag
This causes failure on aarch64: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262709
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
13
biology/dsr-pdb/files/patch-lib_Makefile.in
Normal file
13
biology/dsr-pdb/files/patch-lib_Makefile.in
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user