diff options
Diffstat (limited to 'deskutils/kdissert/Makefile')
-rw-r--r-- | deskutils/kdissert/Makefile | 10 |
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> |