diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-11-20 12:25:13 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-11-20 12:25:13 +0000 |
commit | 959a925be19df3bb79a82574c7f022b8799b07c5 (patch) | |
tree | 012726904e48ee18e97bf8872cefbd2c39fbeb02 /devel/fastdep | |
parent | fc1a499ec3ef541d776f52fd568c238471e65503 (diff) | |
download | ports-959a925be19df3bb79a82574c7f022b8799b07c5.tar.gz ports-959a925be19df3bb79a82574c7f022b8799b07c5.zip |
Notes
Diffstat (limited to 'devel/fastdep')
-rw-r--r-- | devel/fastdep/Makefile | 10 | ||||
-rw-r--r-- | devel/fastdep/files/patch-Makefile.real | 13 |
2 files changed, 15 insertions, 8 deletions
diff --git a/devel/fastdep/Makefile b/devel/fastdep/Makefile index 95f7689d0cc0..279215ad8011 100644 --- a/devel/fastdep/Makefile +++ b/devel/fastdep/Makefile @@ -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 --git a/devel/fastdep/files/patch-Makefile.real b/devel/fastdep/files/patch-Makefile.real index 3add4a391e10..a1fa404fd325 100644 --- a/devel/fastdep/files/patch-Makefile.real +++ b/devel/fastdep/files/patch-Makefile.real @@ -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) |