aboutsummaryrefslogtreecommitdiff
path: root/deskutils/kdissert/Makefile
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2005-10-28 13:29:21 +0000
committerVolker Stolz <vs@FreeBSD.org>2005-10-28 13:29:21 +0000
commit4b826d98ce67daf179c43e7b2e71bd33f25a1709 (patch)
tree0081ff60c5eda8fb9ef8f051aa07f049c6711485 /deskutils/kdissert/Makefile
parentb2a7e219acbfa167b6f55621769f87f6aba25fd2 (diff)
downloadports-4b826d98ce67daf179c43e7b2e71bd33f25a1709.tar.gz
ports-4b826d98ce67daf179c43e7b2e71bd33f25a1709.zip
Notes
Diffstat (limited to 'deskutils/kdissert/Makefile')
-rw-r--r--deskutils/kdissert/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/deskutils/kdissert/Makefile b/deskutils/kdissert/Makefile
index 7211756fcb86..3ff385e51fb9 100644
--- a/deskutils/kdissert/Makefile
+++ b/deskutils/kdissert/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= kdissert
-PORTVERSION= 1.0.4
+PORTVERSION= 1.0.5
CATEGORIES= deskutils kde
MASTER_SITES= http://www.kde-apps.org/content/files/
DISTNAME= 12725-${PORTNAME}-${PORTVERSION}
@@ -22,6 +22,12 @@ USE_BZIP2= yes
USE_KDELIBS_VER= 3
USE_REINPLACE= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500035
+CXXFLAGS+= -fpermissive
+.endif
+
post-patch:
@${REINPLACE_CMD} -e \
's:%%CXX%%:${CXX}:g ; \
@@ -39,4 +45,4 @@ do-install:
@cd ${WRKSRC} && scons install
@${STRIP_CMD} ${PREFIX}/bin/kdissert
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>