- add USE_GCC=3.3 when default gcc is 3.4

- utilize BSD_INSTALL_DATA in INSTALL_MACROS
This commit is contained in:
Yen-Ming Lee 2004-11-04 04:31:30 +00:00
parent f19df91a2d
commit 13ad2c208c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120749
2 changed files with 2 additions and 3 deletions

View file

@ -18,12 +18,11 @@ COMMENT= C++ class library for eXtended Scientific Computing
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_GMAKE= yes
MAKE_ENV= INSTALL_DATA="${INSTALL_DATA}"
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 502126
BROKEN= "Does not compile with gcc 3.4.2"
USE_GCC= 3.3
.endif
.include <bsd.port.post.mk>

View file

@ -29,7 +29,7 @@
export RMDIR=rm -rf# remove directory
-export INSTALL=install -m 644# copy files
+export INSTALL=${INSTALL_DATA}# copy files
+export INSTALL=${BSD_INSTALL_DATA}# copy files
export STRIP=strip -g# strip executables from debug symbols
export INSTDIR=install -d# create installation directory