1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Convert to USES=libtool pathfix

- Use CPPFLAGS/LIBS instead of CFLAGS/LDFLAGS
- Don't use locale_charset on FreeBSD 10 with converters/libiconv installed,
  always use nl_langinfo from libc instead
This commit is contained in:
Tijl Coosemans 2014-07-04 18:52:25 +00:00
parent 4a44a9cdcc
commit 819035efaf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360647
2 changed files with 6 additions and 10 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= freexl
DISTVERSION= 1.0.0g
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://www.gaia-gis.it/gaia-sins/freexl-sources/
@ -10,15 +11,10 @@ MAINTAINER= coder@tuxfamily.org
COMMENT= Library to extract valid data from within an Excel (.xls) spreadsheet
GNU_CONFIGURE= yes
USES= iconv gmake
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
CONFIGURE_ARGS+=CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= ac_cv_search_locale_charset=no
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
USES= gmake iconv libtool pathfix
USE_LDCONFIG= yes
post-patch:
@${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|g' \
${WRKSRC}/Makefile.in
.include <bsd.port.mk>

View File

@ -1,6 +1,6 @@
include/freexl.h
lib/libfreexl.a
lib/libfreexl.la
lib/libfreexl.so
lib/libfreexl.so.1
lib/libfreexl.so.1.0.0
libdata/pkgconfig/freexl.pc