1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/www/libepc/Makefile
Mark Linimon 7bfae932f7 Prepare for powerpc-on-clang by deleting hard-coded tests for libstdc++.so
as a stand-in for "are we running on gcc".

For people already testing powerpc on clang, it is possible that they
already have both compilers in base.  Thus, the assumption that "gcc is
in base" (e.g.  libstdc++.so exists) always means "force use of GCC" is
already broken.  It will be for everyone on -CURRENT once the switch is
made.

While here, standardize on compiler:c++11-lang instead of -lib (they are
equivalent these days), pet portlint, and do some other cleanup.

Approved by:	portmgr (tier-2 blanket)
2019-07-12 02:25:07 +00:00

38 lines
877 B
Makefile

# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$
PORTNAME= libepc
PORTVERSION= 0.4.6
CATEGORIES= www
MASTER_SITES= GNOME
MAINTAINER= kwm@FreeBSD.org
COMMENT= The Easy Publish and Consume library
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libuuid.so:misc/e2fsprogs-libuuid \
libfribidi.so:converters/fribidi \
libsoup-2.4.so:devel/libsoup \
libgnutls.so:security/gnutls \
libavahi-common.so:net/avahi-app \
libavahi-ui-gtk3.so:net/avahi-gtk3
USES= compiler gettext gmake gnome libtool pathfix pkgconfig \
tar:xz
USE_GNOME= gnomeprefix cairo gdkpixbuf2 gtk30 intltool
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
.include <bsd.port.pre.mk>
.if ${CHOSEN_COMPILER_TYPE} == gcc
post-patch:
${REINPLACE_CMD} -e '/#pragma GCC diagnostic/d' \
${WRKSRC}/examples/simple-publisher.c
.endif
.include <bsd.port.post.mk>