mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
Fix build on GCC based architectures.
PR: 234178 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl>
This commit is contained in:
parent
9c66e4b1a8
commit
b93c1e5861
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=487868
@ -11,7 +11,7 @@ COMMENT= Libraries and utilities to access smart cards
|
||||
|
||||
LICENSE= LGPL21
|
||||
|
||||
BROKEN_powerpc64= fails to compile: cc1: unrecognized command line option "-Wno-unused-but-set-variable"
|
||||
USES= libtool pkgconfig gmake ssl
|
||||
|
||||
OPTIONS_SINGLE= BACKEND
|
||||
OPTIONS_SINGLE_BACKEND=PCSC OPENCT CTAPI
|
||||
@ -25,7 +25,6 @@ CTAPI_DESC= Use CT-API backend
|
||||
SM_DESC= Enable secure messaging support
|
||||
NOTIFY_DESC= Enable notification support
|
||||
|
||||
USES= libtool pkgconfig gmake ssl
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
INSTALL_TARGET= install-strip
|
||||
@ -67,4 +66,10 @@ CONFIGURE_ENV+= XSLTPROC="${FALSE}"
|
||||
CONFIGURE_ARGS+=--without-xsl-stylesheetsdir
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
.if exists(/usr/lib/libstdc++.so)
|
||||
${REINPLACE_CMD} -e '/-Wno-unused-but-set-variable/d' \
|
||||
${WRKSRC}/src/tools/Makefile.am
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user