Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Sep 2020 10:39:50 +0000 (UTC)
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r550262 - head/www/cgicc
Message-ID:  <202009271039.08RAdoOe006145@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bofh
Date: Sun Sep 27 10:39:50 2020
New Revision: 550262
URL: https://svnweb.freebsd.org/changeset/ports/550262

Log:
  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)

Modified:
  head/www/cgicc/Makefile

Modified: head/www/cgicc/Makefile
==============================================================================
--- head/www/cgicc/Makefile	Sun Sep 27 10:39:06 2020	(r550261)
+++ head/www/cgicc/Makefile	Sun Sep 27 10:39:50 2020	(r550262)
@@ -3,6 +3,7 @@
 
 PORTNAME=	cgicc
 PORTVERSION=	3.2.19
+PORTREVISION=	1
 CATEGORIES=	www devel
 MASTER_SITES=	GNU
 
@@ -11,26 +12,19 @@ COMMENT=	C++ class library for writing CGI application
 
 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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009271039.08RAdoOe006145>