Do not tinker with the ALL_TARGET. The existing version makes clean

before all, which will restart the whole build every time you interrupt
it... Run the bundled tests after in post-build. Obey the CXXFLAGS.

Approved by:	maintainer
This commit is contained in:
Mikhail Teterin 2002-03-10 23:24:14 +00:00
parent b19cbdef34
commit f82922d767
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=55837
2 changed files with 12 additions and 1 deletions

View file

@ -25,7 +25,6 @@ PATCH_WRKSRC= ${WRKDIR}/STLport-${PORTVERSION:S/.b/b/}
USE_GMAKE= yes
MAKEFILE= gcc-freebsd.mak
MAKE_ARGS= INSTALLDIR=${PREFIX}
ALL_TARGET= clean all
INSTALL_TARGET= install_unix
INSTALLS_SHLIB= yes
@ -41,4 +40,7 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/../doc/images/* ${DOCSDIR}/images
.endif
post-build test:
cd ${WRKSRC}/../test/eh && ${GMAKE} -f ${MAKEFILE}
.include <bsd.port.post.mk>

View file

@ -0,0 +1,9 @@
--- src/gcc-freebsd.mak Tue Nov 27 02:17:56 2001
+++ src/gcc-freebsd.mak Sun Mar 10 12:59:08 2002
@@ -43,4 +43,4 @@
-CXXFLAGS_RELEASE_static = $(CXXFLAGS_COMMON) -O2
-CXXFLAGS_RELEASE_dynamic = $(CXXFLAGS_COMMON) -O2 -fPIC
+CXXFLAGS_RELEASE_static = $(CXXFLAGS_COMMON) ${CXXFLAGS}
+CXXFLAGS_RELEASE_dynamic = $(CXXFLAGS_COMMON) ${CXXFLAGS} -fPIC