diff --git a/graphics/sharpconstruct/Makefile b/graphics/sharpconstruct/Makefile index e820a27bf526a..9750817319368 100644 --- a/graphics/sharpconstruct/Makefile +++ b/graphics/sharpconstruct/Makefile @@ -1,6 +1,6 @@ PORTNAME= sharpconstruct PORTVERSION= 0.11 -PORTREVISION= 18 +PORTREVISION= 19 CATEGORIES= graphics MASTER_SITES= SF/sharp3d/SharpConstruct/${PORTVERSION} @@ -17,24 +17,22 @@ LIB_DEPENDS= libgtkglextmm-x11-1.2.so:x11-toolkits/gtkglextmm \ ONLY_FOR_ARCHS= amd64 i386 powerpc64 powerpc64le ONLY_FOR_ARCHS_REASON= uses SSE instructions -USES= gl tar:bzip2 gmake pkgconfig +USES= compiler:c++11-lang gl tar:bzip2 gmake pkgconfig USE_CXXSTD= c++11 GNU_CONFIGURE= yes USE_GL= gl glu CXXFLAGS_i386= -msse CXXFLAGS_powerpc64le= -DNO_WARN_X86_INTRINSICS +CXXFLAGS_powerpc64= -DNO_WARN_X86_INTRINSICS -mvsx PLIST_FILES= bin/${PORTNAME} \ man/man1/${PORTNAME}.1.gz PORTDATA= * .include -.if ${ARCH} == powerpc64 -CXXFLAGS+= -DNO_WARN_X86_INTRINSICS -maltivec -mvsx -USES+= compiler:gcc-c++11-lib -.else -USES+= compiler:c++11-lang +.if ${ARCH} == powerpc64 && !defined(CPUTYPE) +CXXFLAGS+= -mcpu=power7 .endif post-patch: