diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2020-09-27 10:39:50 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2020-09-27 10:39:50 +0000 |
commit | 72990a759b031c9479830a600d99b83d6adfb445 (patch) | |
tree | 0512823bdbe634448475107ebce436eeb7afe4d0 | |
parent | misc/librepo: Fix SEGV by patching sources to make 2 functions be properly de... (diff) |
www/cgicc: Fix runtime linker error
- It requires gcc compiler hence added compiler:gcc-c++11-lib
- Removed USES=gmake as it builds fine with bsdmake
Reported by: brianthetall@gmail.com
MFH: 2020Q3 (runtime fix)
-rw-r--r-- | www/cgicc/Makefile | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/www/cgicc/Makefile b/www/cgicc/Makefile index ac1c0f53824d..875abc5be0c2 100644 --- a/www/cgicc/Makefile +++ b/www/cgicc/Makefile @@ -3,6 +3,7 @@ PORTNAME= cgicc PORTVERSION= 3.2.19 +PORTREVISION= 1 CATEGORIES= www devel MASTER_SITES= GNU @@ -11,27 +12,20 @@ COMMENT= C++ class library for writing CGI applications LICENSE= LGPL3+ -OPTIONS_DEFINE= DOXYGEN DOCS +USES= autoreconf:build compiler:gcc-c++11-lib libtool pathfix +USE_LDCONFIG= yes -USES= gmake pathfix libtool GNU_CONFIGURE= yes -MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \ - AUTOMAKE="${TRUE}" -USE_LDCONFIG= yes INSTALL_TARGET= install-strip - -CXXFLAGS+= -Wno-unknown-pragmas - PORTDOCS= * +OPTIONS_DEFINE= DOXYGEN DOCS DOXYGEN_IMPLIES= DOCS DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_CONFIGURE_ENV_OFF= ac_cv_prog_DOXYGEN="${ECHO_CMD}" post-patch: @${REINPLACE_CMD} -e \ - 's|-lstdc++||' ${WRKSRC}/cgicc/Makefile.in - @${REINPLACE_CMD} -e \ '/^docdir/s|=.*|= @docdir@|' ${WRKSRC}/doc/Makefile.in .include <bsd.port.mk> |