From owner-freebsd-ports Fri Mar 15 21:40:16 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 03DD337B41A for ; Fri, 15 Mar 2002 21:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2G5e1Y61921; Fri, 15 Mar 2002 21:40:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C205337B405 for ; Fri, 15 Mar 2002 21:38:58 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2G5cwI60771; Fri, 15 Mar 2002 21:38:58 -0800 (PST) (envelope-from nobody) Message-Id: <200203160538.g2G5cwI60771@freefall.freebsd.org> Date: Fri, 15 Mar 2002 21:38:58 -0800 (PST) From: KATO Tsuguru To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/35958: Update port: devel/pcre++ Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 35958 >Category: ports >Synopsis: Update port: devel/pcre++ >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Mar 15 21:40:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: 4.4-RELEASE i386 >Organization: >Environment: >Description: - Support CXXFLAGS/LOCALBASE properly >How-To-Repeat: >Fix: diff -urN /usr/ports/devel/pcre++/Makefile devel/pcre++/Makefile --- /usr/ports/devel/pcre++/Makefile Wed Mar 6 19:05:57 2002 +++ devel/pcre++/Makefile Wed Mar 13 21:00:57 2002 @@ -13,19 +13,27 @@ MAINTAINER= ports@FreeBSD.org -LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre +LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre + +PCRE_CONFIG?= ${LOCALBASE}/bin/pcre-config -USE_LIBTOOL= yes -GNU_CONFIGURE= yes USE_GMAKE= yes +USE_LIBTOOL= yes +CONFIGURE_ENV= CPPFLAGS="`${PCRE_CONFIG} --cflags`" \ + LDFLAGS="`${PCRE_CONFIG} --libs`" INSTALLS_SHLIB= yes MAN3= Pcre.3 -.if !defined(NOPORTDOCS) +post-patch: + @${PERL} -pi -e 's|-I/usr/local/include||g ; \ + s|-L/usr/local/lib||g' ${WRKSRC}/configure + @${PERL} -pi -e 's|-O -g|\@CXXFLAGS\@|g' ${WRKSRC}/Makefile.in + post-install: +.if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - ${CP} -R ${WRKSRC}/doc/html/ ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/html/*.* ${DOCSDIR} .endif .include >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message