- Respect CXXFLAGS

- Unbreak and undeprecate (chase libsigc++20 update)
This commit is contained in:
Alexey Dokuchaev 2018-01-26 14:41:43 +00:00
parent df3607acde
commit 3481c285d2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=460001

View File

@ -12,13 +12,10 @@ COMMENT= GNOME interface to xcompmgr
RUN_DEPENDS= xcompmgr:x11-wm/xcompmgr
BROKEN= fails to compile: ustring.h: expected ';' at end of declaration list
DEPRECATED= Broken for more than 6 months
EXPIRATION_DATE= 2018-01-27
GNU_CONFIGURE= yes
LIBS+= -L${LOCALBASE}/lib -lX11
USES= autoreconf libtool pkgconfig
USES= compiler:c++11-lang autoreconf libtool pkgconfig
USE_CXXSTD= c++11
USE_GNOME= gtkmm24
USE_XORG= x11
@ -33,6 +30,7 @@ OPTIONS_DEFINE= DOCS
post-patch:
@${RM} ${WRKSRC}/INSTALL
@${REINPLACE_CMD} -e '/^CXXFLAGS=""/d' ${WRKSRC}/configure.in
@${REINPLACE_CMD} -e 's|connect(SigC::slot|connect(sigc::mem_fun|g ; \
s|#include <sigc++\/compatibility\.h>||g' \
${WRKSRC}/src/*.cc