freebsd-ports/sysutils/mate-settings-daemon/Makefile
Jan Beich f5f47a5a4e devel/nspr, security/nss: drop version from SONAME
No other downstream appends synthetic library version, and doing so
causes underlinking due to fragile build system (see below). Not to
mention being unable to swap out bundled libs from upstream builds.

  $ cc -lplds4 -L/usr/local/lib
  /usr/lib/crt1.o: In function `_start1':
  crt1_c.c:(.text+0xa6): undefined reference to `main'
  /usr/local/lib/libplds4.so: undefined reference to `pthread_set_name_np'
  /usr/local/lib/libplds4.so: undefined reference to `pthread_create'
  /usr/local/lib/libplds4.so: undefined reference to `pthread_condattr_init'
  /usr/local/lib/libplds4.so: undefined reference to `pthread_setschedparam'
  /usr/local/lib/libplds4.so: undefined reference to `pthread_getschedparam'

PR:		213144
Exp-run by:	antoine
2016-10-09 12:10:02 +00:00

68 lines
2.2 KiB
Makefile

# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$
PORTNAME= mate-settings-daemon
PORTVERSION= 1.12.1
PORTREVISION= 1
CATEGORIES= sysutils mate
MASTER_SITES= MATE
DIST_SUBDIR= mate
MAINTAINER= gnome@FreeBSD.org
COMMENT= MATE settings daemon
LIB_DEPENDS= libdbus-1.so:devel/dbus \
libdbus-glib-1.so:devel/dbus-glib \
libxklavier.so:x11/libxklavier \
libnss3.so:security/nss \
libfontconfig.so:x11-fonts/fontconfig \
libpolkit-gobject-1.so:sysutils/polkit \
libnotify.so:devel/libnotify
RUN_DEPENDS= xrdb:x11/xrdb
PORTSCOUT= limitw:1,even
USES= gettext gmake libtool pathfix pkgconfig tar:xz
USE_MATE= desktop libmatekbd
USE_XORG= xxf86misc
USE_GNOME= dconf gtk20 intlhack
USE_LDCONFIG= yes
USE_GSTREAMER= good
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-dbus-services=${PREFIX}/share/dbus-1/services \
--with-gtk=2.0 \
--disable-static
INSTALLS_ICONS= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
GLIB_SCHEMAS= org.mate.SettingsDaemon.plugins.a11y-keyboard.gschema.xml \
org.mate.SettingsDaemon.plugins.a11y-settings.gschema.xml \
org.mate.SettingsDaemon.plugins.background.gschema.xml \
org.mate.SettingsDaemon.plugins.clipboard.gschema.xml \
org.mate.SettingsDaemon.plugins.datetime.gschema.xml \
org.mate.SettingsDaemon.plugins.housekeeping.gschema.xml \
org.mate.SettingsDaemon.plugins.keybindings.gschema.xml \
org.mate.SettingsDaemon.plugins.keyboard.gschema.xml \
org.mate.SettingsDaemon.plugins.media-keys.gschema.xml \
org.mate.SettingsDaemon.plugins.mouse.gschema.xml \
org.mate.SettingsDaemon.plugins.mpris.gschema.xml \
org.mate.SettingsDaemon.plugins.smartcard.gschema.xml \
org.mate.SettingsDaemon.plugins.sound.gschema.xml \
org.mate.SettingsDaemon.plugins.typing-break.gschema.xml \
org.mate.SettingsDaemon.plugins.xrandr.gschema.xml \
org.mate.SettingsDaemon.plugins.xrdb.gschema.xml \
org.mate.SettingsDaemon.plugins.xsettings.gschema.xml \
org.mate.applications-at.gschema.xml \
org.mate.font-rendering.gschema.xml \
org.mate.peripherals-smartcard.gschema.xml \
org.mate.peripherals-touchpad.gschema.xml
OPTIONS_DEFINE= PULSEAUDIO
OPTIONS_SUB= yes
PULSEAUDIO_CONFIGURE_ENABLE= pulse
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
.include <bsd.port.mk>