Remove -fPIC from audio/audiere and add it to audio/dumb where the real

problem is.  audio/dumb only provides a static library and audio/audiere
tries to link that into a shared library.
This commit is contained in:
Tijl Coosemans 2017-02-13 22:13:34 +00:00
parent 9089de1bb1
commit 165609c639
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=434057
2 changed files with 4 additions and 7 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= audiere
PORTVERSION= 1.9.4
PORTREVISION= 6
PORTREVISION= 7
CATEGORIES= audio
MASTER_SITES= SF
@ -22,8 +22,6 @@ CONFIGURE_ENV= PTHREAD_LIBS="-lpthread"
CPPFLAGS+= -I${LOCALBASE}/include/speex -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS_aarch64= -fPIC
PORTDOCS= changelog.txt cvs.txt dependencies.txt faq.txt glossary.txt \
license.txt overview.txt readme.txt release-howto.txt \
tutorial.txt

View file

@ -3,7 +3,7 @@
PORTNAME= dumb
PORTVERSION= 0.9.3
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= audio
MASTER_SITES= SF
@ -23,9 +23,8 @@ ALLEGRO_CONFLICTS= dumb-[0-9]*
ALLEGRO_MAKE_ARGS_OFF= _PORT_ALLEGRO_CFLAGS=
ALLEGRO_CONFLICTS_OFF= dumb-allegro-[0-9]*
CFLAGS_amd64= -fPIC
CFLAGS_ia64= -fPIC
CFLAGS_sparc64= -fPIC
# libdumb.a is linked into libaudiere.so from audio/audiere.
CFLAGS+= -fPIC
post-patch:
@${REINPLACE_CMD} -e 's|_INSTALL_PATH := |&$${DESTDIR}|' ${WRKSRC}/Makefile