summaryrefslogtreecommitdiff
path: root/emulators/hfs
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2007-10-04 22:20:22 +0000
committerBeech Rintoul <beech@FreeBSD.org>2007-10-04 22:20:22 +0000
commita7a24981ae68f128fef5e66f5433c2af6d6459f9 (patch)
tree0d9508617548078822143fef1053dbac53dc25ac /emulators/hfs
parent- Fix build with gcc-4.2 (diff)
- Fix build with gcc-4.2
Approved by: Jean-Marc Zucconi <jmz@freebsd.org> (maintainer) portmgr (linimon)
Notes
Notes: svn path=/head/; revision=200863
Diffstat (limited to 'emulators/hfs')
-rw-r--r--emulators/hfs/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/emulators/hfs/Makefile b/emulators/hfs/Makefile
index 0be380aee665..9d05bfad7d98 100644
--- a/emulators/hfs/Makefile
+++ b/emulators/hfs/Makefile
@@ -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>