Date: Tue, 19 Nov 2002 06:15:00 +0900 From: KATO Tsuguru <tkato@prontomail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/45425: Update port: devel/fastdep Message-ID: <20021119061500.231a811e.tkato@prontomail.com>
next in thread | raw e-mail | index | archive | help
>Number: 45425 >Category: ports >Synopsis: Update port: devel/fastdep >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: Mon Nov 18 13:30:03 PST 2002 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: 4.7-RELEASE-p2 i386 >Organization: >Environment: >Description: - Support CXX/CXXFLAGS properly >How-To-Repeat: >Fix: diff -urN /usr/ports/devel/fastdep/Makefile devel/fastdep/Makefile --- /usr/ports/devel/fastdep/Makefile Fri Nov 8 21:23:41 2002 +++ devel/fastdep/Makefile Mon Nov 11 20:28:00 2002 @@ -8,21 +8,23 @@ PORTNAME= fastdep PORTVERSION= 0.13 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://www.irule.be/bvh/c++/fastdep/ MAINTAINER= ports@FreeBSD.org -LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt +LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt USE_REINPLACE= yes USE_GMAKE= yes +MAKE_ENV= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" ALL_TARGET= boot -CFLAGS+= -I${LOCALBASE}/include post-patch: - @${REINPLACE_CMD} -e "s|make|gmake|" ${WRKSRC}/Makefile - @${REINPLACE_CMD} -e "s|CXXFLAGS=|CXXFLAGS+=|" ${WRKSRC}/Makefile.common + @${REINPLACE_CMD} -e 's|make |\$$\{MAKE\} |g' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|CXXFLAGS=|CXXFLAGS+=|g ; \ + s|-O2||g' ${WRKSRC}/Makefile.common do-install: ${INSTALL_PROGRAM} ${WRKSRC}/fastdep ${PREFIX}/bin diff -urN /usr/ports/devel/fastdep/files/patch-Makefile.real devel/fastdep/files/patch-Makefile.real --- /usr/ports/devel/fastdep/files/patch-Makefile.real Wed Oct 30 21:52:39 2002 +++ devel/fastdep/files/patch-Makefile.real Sat Nov 9 12:13:17 2002 @@ -1,11 +1,16 @@ ---- Makefile.real.orig Wed Oct 30 20:46:26 2002 -+++ Makefile.real Wed Oct 30 20:46:46 2002 -@@ -8,7 +8,7 @@ +--- Makefile.real.orig Thu Jun 20 06:19:59 2002 ++++ Makefile.real Sat Nov 9 12:13:07 2002 +@@ -8,11 +8,11 @@ g++ $(CXXFLAGS) -o $(BINARY) @linkfiles -rm -f linkfiles else - g++ $(CXXFLAGS) -o $(BINARY) $(OBJECTS) -+ g++ $(CXXFLAGS) -o $(BINARY) $(OBJECTS) -L${LOCALBASE}/lib -lgnugetopt ++ $(CXX) $(CXXFLAGS) -o $(BINARY) $(OBJECTS) -L${LOCALBASE}/lib -lgnugetopt endif .cc.o: $(ALLMAKEFILES) +- g++ $(CXXFLAGS) -c $< -o $@ ++ $(CXX) $(CXXFLAGS) -I${LOCALBASE}/include -c $< -o $@ + + $(DEPENDS): $(SOURCES) $(MAKEFILE) + ifeq ($(HOST_SYSTEM),cygwin) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021119061500.231a811e.tkato>