aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-12-28 04:21:42 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-12-28 04:21:42 +0800
commite309ce64afb7f485f8e13bd3c1bf4febfda3d579 (patch)
treec8321ee0c62fef8ee3ebfa09b91e4ca31ea0ead0 /graphics
parent17df529222e299f4b018cffb3cc75f824b54e262 (diff)
downloadfreebsd-ports-gnome-e309ce64afb7f485f8e13bd3c1bf4febfda3d579.tar.gz
freebsd-ports-gnome-e309ce64afb7f485f8e13bd3c1bf4febfda3d579.tar.zst
freebsd-ports-gnome-e309ce64afb7f485f8e13bd3c1bf4febfda3d579.zip
- Clarify LICENSE
- Switch to USES=localbase - Unbreak on 11.x
Diffstat (limited to 'graphics')
-rw-r--r--graphics/libprojectm/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/graphics/libprojectm/Makefile b/graphics/libprojectm/Makefile
index e1c06c1a5531..f65240ff3f9d 100644
--- a/graphics/libprojectm/Makefile
+++ b/graphics/libprojectm/Makefile
@@ -10,22 +10,16 @@ DISTNAME= ${PORTNAME:S/lib//}-${DISTVERSION}-Source
MAINTAINER= ports@FreeBSD.org
COMMENT= Awesome music visualiser
-LICENSE= LGPL21
+LICENSE= LGPL21 # or later
LIB_DEPENDS= libftgl.so:${PORTSDIR}/graphics/ftgl \
libfreetype.so:${PORTSDIR}/print/freetype2
-USES= cmake
+USES= cmake localbase
+CMAKE_ARGS= -DUSE_OPENMP=OFF # openmp breaks build on 11.x
USE_GL= glew
-CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
USE_LDCONFIG= yes
-.include <bsd.port.options.mk>
-
-.if ${OSVERSION} >= 1100000
-BROKEN= requires -lomp which cannot be found
-.endif
-
post-patch:
# Install config.inp.sample instead of overwriting user's file.
# Needs to be specific enough not to rename config.inp.in too!