Index: head/devel/uatraits/Makefile =================================================================== --- head/devel/uatraits/Makefile (revision 519010) +++ head/devel/uatraits/Makefile (revision 519011) @@ -1,37 +1,41 @@ # Created by: Dmitry Sivachenko # $FreeBSD$ PORTNAME= uatraits PORTVERSION= 20130430 PORTREVISION= 14 CATEGORIES= devel www MASTER_SITES= http://people.freebsd.org/~demon/ MAINTAINER= demon@FreeBSD.org COMMENT= User-Agent detection library -BROKEN_powerpc64= fails to link: checking linkage with boost::test... no - LIB_DEPENDS= ${PY_BOOST} \ libpcre.so:devel/pcre \ libxml2.so:textproc/libxml2 -USES= autoreconf compiler libtool pkgconfig python:2.7 ssl +USES= autoreconf compiler:c++11-lang libtool pkgconfig python:2.7 ssl GNU_CONFIGURE= yes USE_LDCONFIG= yes CONFIGURE_ARGS= --with-boost-prefix=${LOCALBASE} \ --with-pcre-prefix=${LOCALBASE} \ --enable-python --disable-perl --disable-tests \ --disable-java --disable-nodejs CONFIGURE_ENV= crypto_CFLAGS="-I${OPENSSLINC}" \ - crypto_LIBS="-L${OPENSSLLIB} -lcrypto" + crypto_LIBS="-lcrypto" CPPFLAGS+= -I${LOCALBASE}/include CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} CXXFLAGS_clang= -Wno-c++11-narrowing +.include + +.if ${OPENSSLLIB} != /usr/lib +CONFIGURE_ENV+= crypto_LIBS="-L${OPENSSLLIB} -lcrypto" +.endif + post-patch: @${REINPLACE_CMD} -e 's/\[boost_python]/[${PY_BOOST_LIB}]/' \ ${WRKSRC}/config/ax_boost_python.m4 -.include +.include Index: head/devel/uatraits/files/patch-config_libxml2.m4 =================================================================== --- head/devel/uatraits/files/patch-config_libxml2.m4 (nonexistent) +++ head/devel/uatraits/files/patch-config_libxml2.m4 (revision 519011) @@ -0,0 +1,11 @@ +--- config/libxml2.m4.orig 2019-12-04 11:56:24 UTC ++++ config/libxml2.m4 +@@ -41,7 +41,7 @@ AC_ARG_ENABLE(xmltest, + no_xml=yes + else + XML_CPPFLAGS=`$XML2_CONFIG $xml_config_args --cflags` +- XML_LIBS=`$XML2_CONFIG $xml_config_args --libs` ++ XML_LIBS=`$XML2_CONFIG $xml_config_args --libs | sed 's|-L/usr/lib||g'` + xml_config_major_version=`$XML2_CONFIG $xml_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` + xml_config_minor_version=`$XML2_CONFIG $xml_config_args --version | \ Property changes on: head/devel/uatraits/files/patch-config_libxml2.m4 ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property