summaryrefslogtreecommitdiff
path: root/deskutils/cdcat/Makefile
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2007-10-25 02:22:49 +0000
committerBeech Rintoul <beech@FreeBSD.org>2007-10-25 02:22:49 +0000
commitf61f120766a9b5610c71290601733c0ab9a174a2 (patch)
tree0168b789b538e6d68355693395a4c444f0d66415 /deskutils/cdcat/Makefile
parent- Update to 0.9.16 (diff)
- Fix build with gcc-4.2
Approved by: linimon (maintainer timeout)
Notes
Notes: svn path=/head/; revision=201963
Diffstat (limited to '')
-rw-r--r--deskutils/cdcat/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/deskutils/cdcat/Makefile b/deskutils/cdcat/Makefile
index 41ddeb2b5be9..3159c4c5f58d 100644
--- a/deskutils/cdcat/Makefile
+++ b/deskutils/cdcat/Makefile
@@ -33,10 +33,6 @@ MAKE_ENV= QTDIR="${QTDIR}" MAKE="${GMAKE}" \
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 700042
-BROKEN= Does not compile with GCC 4.2
-.endif
-
PLIST_FILES= bin/cdcat \
share/cdcat/Authors \
share/cdcat/COPYING \
@@ -59,6 +55,10 @@ PLIST_FILES= bin/cdcat \
PLIST_DIRS= share/cdcat/translations \
share/cdcat
+post-patch:
+ @${REINPLACE_CMD} -e 's|importGtktalogCsv\:\:importGtktalogCsv|importGtktalogCsv|' \
+ ${WRKSRC}/import.h
+
pre-configure:
cd ${WRKSRC} && ${MAKE_ENV} qmake cdcat.pro
.if defined(WITH_KDE)