aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/cdcat
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2007-10-25 10:22:49 +0800
committerbeech <beech@FreeBSD.org>2007-10-25 10:22:49 +0800
commita9a7bea1eb8558e7c0bafd81bc9458c682b9a911 (patch)
tree6276c501540d6408eba216dc37ebe3b210bf99a8 /deskutils/cdcat
parent8bf3693510c67b3538466a898ac47dbe60d7f1a1 (diff)
downloadfreebsd-ports-gnome-a9a7bea1eb8558e7c0bafd81bc9458c682b9a911.tar.gz
freebsd-ports-gnome-a9a7bea1eb8558e7c0bafd81bc9458c682b9a911.tar.zst
freebsd-ports-gnome-a9a7bea1eb8558e7c0bafd81bc9458c682b9a911.zip
- Fix build with gcc-4.2
Approved by: linimon (maintainer timeout)
Diffstat (limited to 'deskutils/cdcat')
-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)