aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2007-10-05 06:20:22 +0800
committerbeech <beech@FreeBSD.org>2007-10-05 06:20:22 +0800
commite4d409054170b1597bc648bbe4f82b3c843bba27 (patch)
tree2db0810ba1103f2a86e581026d0175c0bc40110a /emulators
parent818372ede732a0a4ef2c3a929adb7c5d5139bcc6 (diff)
downloadfreebsd-ports-gnome-e4d409054170b1597bc648bbe4f82b3c843bba27.tar.gz
freebsd-ports-gnome-e4d409054170b1597bc648bbe4f82b3c843bba27.tar.zst
freebsd-ports-gnome-e4d409054170b1597bc648bbe4f82b3c843bba27.zip
- Fix build with gcc-4.2
Approved by: Jean-Marc Zucconi <jmz@freebsd.org> (maintainer) portmgr (linimon)
Diffstat (limited to 'emulators')
-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>