37 lines
1 KiB
Makefile
37 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.44 2005/04/11 21:46:35 tv Exp $
|
|
|
|
DISTNAME= kdeutils-${_KDE_VERSION}
|
|
COMMENT= Utilities for the KDE integrated X11 desktop
|
|
|
|
.include "../../meta-pkgs/kde3/Makefile.kde3"
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
USE_DIRS+= xdg-1.1
|
|
USE_PKGINSTALL= YES
|
|
|
|
# Ensure we export symbols in the linked shared object.
|
|
LDFLAGS+= ${EXPORT_SYMBOLS_LDFLAGS}
|
|
MAKE_ENV+= EXPORT_SYMBOLS_LDFLAGS="${EXPORT_SYMBOLS_LDFLAGS}"
|
|
|
|
.if !empty(MACHINE_PLATFORM:MNetBSD-1.6*) || !empty(MACHINE_PLATFORM:MNetBSD-[2-9]*)
|
|
CPPFLAGS+= -DARK_TAR="\"/usr/bin/tar\""
|
|
.else
|
|
DEPENDS+= gtar-base>=1.13.25:../../archivers/gtar-base
|
|
|
|
EVAL_PREFIX+= PREFIX.gtar=gtar
|
|
PREFIX.gtar_DEFAULT= ${LOCALBASE}
|
|
CPPFLAGS+= -DARK_TAR="\"${PREFIX.gtar}/bin/${GNU_PROGRAM_PREFIX}tar\""
|
|
.endif
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "NetBSD" && exists(/usr/include/machine/apmvar.h)
|
|
CPPFLAGS+= -D__NetBSD_APM__
|
|
.endif
|
|
|
|
.include "../../meta-pkgs/kde3/kde3.mk"
|
|
.include "../../x11/kdebase3/buildlink3.mk"
|
|
.include "../../x11/kdelibs3/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|