1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-06 01:57:40 +00:00
freebsd-ports/deskutils/glabels/Makefile
Tijl Coosemans 216b5a285f - Fix missing library problems when the linker enforces explicit linking
PR:		192062
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-08-26 14:06:08 +00:00

40 lines
1.1 KiB
Makefile

# Created by: Martin Klaffenboeck <martin.klaffenboeck@gmx.at>
# $FreeBSD$
# $MCom: ports/deskutils/glabels/Makefile,v 1.10 2010/04/03 19:25:49 kwm Exp $
PORTNAME= glabels
PORTVERSION= 2.2.8
PORTREVISION= 4
CATEGORIES= deskutils
MASTER_SITES= GNOME
MAINTAINER= gnome@FreeBSD.org
COMMENT= Program to create labels and business cards
USES= desktop-file-utils gettext gmake libtool pathfix pkgconfig \
shared-mime-info tar:bzip2
USE_GNOME= gnomeprefix libgnomeui gnomedocutils intlhack
WANT_GNOME= yes
INSTALLS_OMF= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-update-desktopdb --disable-update-mimedb
CPPFLAGS+= -I${LOCALBASE}/include -DGLIB_COMPILATION
LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.pre.mk>
.if ${HAVE_GNOME:Mevolutiondataserver}!=""
USE_GNOME+= evolutiondataserver
CONFIGURE_ARGS+= --with-libebook
.else
CONFIGURE_ARGS+= --without-libebook
.endif
post-patch:
@${REINPLACE_CMD} -e 's|malloc\.h|stdlib\.h|g' \
${WRKSRC}/iec16022-0.2.1/*.c
@${REINPLACE_CMD} 's/_LDADD =/& -lm/' ${WRKSRC}/src/Makefile.in
.include <bsd.port.post.mk>