misc/libemos: Unbreak, it was broken by the science/eccodes update in r506947

The fix is suggested by sunpoet.

Reported by:	fallout
This commit is contained in:
Yuri Victorovich 2019-07-28 19:08:40 +00:00
parent 8d0c8c5c44
commit 7add426350
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=507524
2 changed files with 4 additions and 4 deletions

View file

@ -2,7 +2,7 @@
PORTNAME= libemos
DISTVERSION= 4.5.9
PORTREVISION= 2
PORTREVISION= 3
DISTVERSIONSUFFIX= -Source
CATEGORIES= misc
MASTER_SITES= https://confluence.ecmwf.int/download/attachments/3473472/
@ -13,8 +13,6 @@ COMMENT= Interpolation library for meteorological software
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN= fails to link
LIB_DEPENDS= libeccodes.so:science/eccodes \
libfftw3.so:math/fftw3 \
libpng.so:graphics/png
@ -22,6 +20,9 @@ LIB_DEPENDS= libeccodes.so:science/eccodes \
USES= cmake:noninja fortran
CMAKE_ON= BUILD_SHARED_LIBS # not respected: https://jira.ecmwf.int/browse/SUP-2691
CMAKE_OFF= HAVE_TESTS
LDFLAGS+= -leccodes
post-stage: # installs the file from eccodes: https://jira.ecmwf.int/browse/SUP-2693
@${RM} ${STAGEDIR}${PREFIX}/bin/bufr_filter

View file

@ -36,7 +36,6 @@ libdata/pkgconfig/libemos.pc
libdata/pkgconfig/libemosR64.pc
%%DATADIR%%/cmake/libemos-config-version.cmake
%%DATADIR%%/cmake/libemos-config.cmake
%%DATADIR%%/cmake/libemos-config.cmake.tpls
%%DATADIR%%/cmake/libemos-targets-%%CMAKE_BUILD_TYPE%%.cmake
%%DATADIR%%/cmake/libemos-targets.cmake
%%DATADIR%%/tables/bufrtables/.gitignore