48f4591035
- Clean up the Makefile. - Follow some upstream recommendations (--with-data-packaging=archive, --disable-renaming, -DICU_NO_USER_DATA_OVERRIDE). - Patch makefiles to install static libraries with INSTALL_DATA so they aren't stripped. - Patch config/mh-bsd-gcc to sync with config/mh-linux-gcc. - Fix endianness detection in ICU. The code wanted to use BYTE_ORDER defined in machine/endian.h, but this isn't visible because ICU is compiled with _XOPEN_SOURCE. Patch the code to use _BYTE_ORDER instead. - Compile ICU with C++11 compiler to enable move constructors. - Patch ICU to fix a problem with atomics in the case of a C++11 compiler without C++11 header <atomic> (like Clang on FreeBSD 9). - Bump all ports that depend on it due to library version change. - Add USES=compiler:c++0x to some ports that pick up -std=c++0x from ICU pkgconfig files. - Add USES=compiler:c++11-lib to graphics/libcdr01 because it also needs a C++11 runtime library now. Add this to all ports that depend on it so their executables load the right libstdc++.so on FreeBSD 9. PR: 205120 Exp-run by: antoine Approved by: portmgr (antoine)
26 lines
621 B
Makefile
26 lines
621 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= libfreehand
|
|
PORTVERSION= 0.1.1
|
|
PORTREVISION= 3
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= LODEV
|
|
|
|
MAINTAINER= office@FreeBSD.org
|
|
COMMENT= Library providing ability to interpret and import Adobe/Macromedia drawings
|
|
|
|
LICENSE= LGPL21 MPL GPLv2
|
|
LICENSE_COMB= dual
|
|
|
|
BUILD_DEPENDS= icu-config:devel/icu
|
|
LIB_DEPENDS= liblcms2.so:graphics/lcms2 \
|
|
librevenge-0.0.so:textproc/librevenge
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= compiler:c++11-lang gperf perl5 libtool pathfix pkgconfig tar:xz
|
|
USE_LDCONFIG= yes
|
|
USE_PERL5= build
|
|
CONFIGURE_ARGS= --disable-werror --without-docs
|
|
INSTALL_TARGET= install-strip
|
|
|
|
.include <bsd.port.mk>
|