mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Fix build on gcc-based architectures, remove -mminimal-toc on powerpc64
PR: 232547 Submitted by: pkubaj@anongoth.pl
This commit is contained in:
parent
b79a1674b4
commit
089992d864
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=485731
@ -16,9 +16,11 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
LIB_DEPENDS= libexpat.so:textproc/expat2
|
||||
|
||||
USES= cmake:outsource cpe gettext iconv pathfix
|
||||
USES= cmake:outsource compiler:c++11-lang cpe gettext iconv pathfix localbase:ldflags
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
LDFLAGS+= -lintl
|
||||
|
||||
CMAKE_ON= EXIV2_ENABLE_VIDEO \
|
||||
EXIV2_ENABLE_BUILD_PO
|
||||
CMAKE_OFF= EXIV2_ENABLE_BUILD_SAMPLES \
|
||||
@ -26,8 +28,6 @@ CMAKE_OFF= EXIV2_ENABLE_BUILD_SAMPLES \
|
||||
|
||||
PATHFIX_CMAKELISTSTXT= CMakeChecks.txt
|
||||
|
||||
CFLAGS_powerpc64= -mminimal-toc
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-trunk
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user