| @@ -1,38 +1,43 @@ | | | @@ -1,38 +1,43 @@ |
1 | # $NetBSD: Makefile,v 1.102 2019/09/18 14:17:19 ryoon Exp $ | | 1 | # $NetBSD: Makefile,v 1.103 2019/09/28 01:16:17 mef Exp $ |
2 | | | 2 | |
3 | DISTNAME= kde-runtime-15.12.0 | | 3 | DISTNAME= kde-runtime-15.12.0 |
4 | PKGNAME= ${DISTNAME:S/-1/4-1/} | | 4 | PKGNAME= ${DISTNAME:S/-1/4-1/} |
5 | PKGREVISION= 37 | | 5 | PKGREVISION= 37 |
6 | CATEGORIES= x11 | | 6 | CATEGORIES= x11 |
7 | COMMENT= Runtime requirements for the KDE integrated X11 desktop | | 7 | COMMENT= Runtime requirements for the KDE integrated X11 desktop |
8 | MASTER_SITES= ${MASTER_SITE_KDE:=applications/15.12.0/src/} | | 8 | MASTER_SITES= ${MASTER_SITE_KDE:=applications/15.12.0/src/} |
9 | | | 9 | |
10 | .include "../../meta-pkgs/kde4/Makefile.kde4" | | 10 | .include "../../meta-pkgs/kde4/Makefile.kde4" |
11 | | | 11 | |
12 | # BUILD_MAKE_FLAGS+= VERBOSE=1 | | 12 | # BUILD_MAKE_FLAGS+= VERBOSE=1 |
13 | CMAKE_ARGS+= -DWITH_LibSSH:BOOL=OFF | | 13 | CMAKE_ARGS+= -DWITH_LibSSH:BOOL=OFF |
14 | .include "../../mk/bsd.prefs.mk" | | 14 | .include "../../mk/bsd.prefs.mk" |
15 | CMAKE_ARGS+= -DLIBLZMA_INCLUDE_DIR:PATH=${BUILDLINK_PREFIX.xz}/include | | 15 | CMAKE_ARGS+= -DLIBLZMA_INCLUDE_DIR:PATH=${BUILDLINK_PREFIX.xz}/include |
16 | .if ${OPSYS} == "Darwin" | | 16 | .if ${OPSYS} == "Darwin" |
17 | CMAKE_ARGS+= -DLIBLZMA_LIBRARY:FILEPATH=${BUILDLINK_PREFIX.xz}/lib/liblzma.dylib | | 17 | CMAKE_ARGS+= -DLIBLZMA_LIBRARY:FILEPATH=${BUILDLINK_PREFIX.xz}/lib/liblzma.dylib |
18 | .else | | 18 | .else |
19 | CMAKE_ARGS+= -DLIBLZMA_LIBRARY:FILEPATH=${BUILDLINK_PREFIX.xz}/lib/liblzma.so | | 19 | CMAKE_ARGS+= -DLIBLZMA_LIBRARY:FILEPATH=${BUILDLINK_PREFIX.xz}/lib/liblzma.so |
20 | .endif | | 20 | .endif |
21 | | | 21 | |
22 | DEPENDS+= htdig>=3.2.0:../../www/htdig | | 22 | DEPENDS+= htdig>=3.2.0:../../www/htdig |
23 | DEPENDS+= oxygen-icons-[0-9]*:../../graphics/oxygen-icons | | 23 | DEPENDS+= oxygen-icons-[0-9]*:../../graphics/oxygen-icons |
24 | | | 24 | |
25 | USE_TOOLS+= gmake | | 25 | USE_TOOLS+= gmake |
| | | 26 | USE_LANGUAGES+= c++ |
| | | 27 | CXXFLAGS= -Wno-unused-but-set-variable |
| | | 28 | CXXFLAGS+= -Wno-implicit-fallthrough |
| | | 29 | CXXFLAGS+= -Wno-deprecated-declarations |
| | | 30 | CXXFLAGS+= -std=c++11 |
26 | | | 31 | |
27 | CFLAGS.SunOS+= -DPORTMAP | | 32 | CFLAGS.SunOS+= -DPORTMAP |
28 | LDFLAGS.SunOS+= -lsocket -lnsl | | 33 | LDFLAGS.SunOS+= -lsocket -lnsl |
29 | | | 34 | |
30 | .include "options.mk" | | 35 | .include "options.mk" |
31 | | | 36 | |
32 | # Some files are conditional on 'md5sum' or 'md5' being present. | | 37 | # Some files are conditional on 'md5sum' or 'md5' being present. |
33 | PLIST_VARS+= md5 | | 38 | PLIST_VARS+= md5 |
34 | .for dir in ${PATH:C/\:/ /g} | | 39 | .for dir in ${PATH:C/\:/ /g} |
35 | . if exists(${dir}/md5sum) || exists(${dir}/md5) | | 40 | . if exists(${dir}/md5sum) || exists(${dir}/md5) |
36 | PLIST.md5= yes | | 41 | PLIST.md5= yes |
37 | . endif | | 42 | . endif |
38 | .endfor | | 43 | .endfor |