- Fix build with gcc-4.2

Approved by:	Jean-Marc Zucconi <jmz@freebsd.org> (maintainer)
		portmgr (linimon)
This commit is contained in:
Beech Rintoul 2007-10-04 22:20:22 +00:00
parent d68b972686
commit a7a24981ae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=200863

View file

@ -22,14 +22,12 @@ USE_GMAKE= yes
MAN1= hfs.1
PLIST_FILES= bin/hfs
post-patch:
@${REINPLACE_CMD} -e 's|Volume::Enumerate|Enumerate|' \
${WRKSRC}/volume.h
pre-install:
@${MKDIR} ${PREFIX}/bin
@${MKDIR} ${PREFIX}/man/man1
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
BROKEN= Does not compile with GCC 4.2
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>