freebsd-ports/net/linneighborhood/Makefile
Edwin Groothuis 16b7ee693b [maintainer] sysutils/linneighborhood: fix thread usage
Somehow, a hard coded -lc_r survived in a patch file.
	Eleminating it, makes the port (finally) PTHREAD_* conform.

PR:		ports/71612
Submitted by:	Simon Barner <barner@in.tum.de>
2004-10-13 03:04:57 +00:00

38 lines
1,008 B
Makefile

# New ports collection makefile for: LinNeighborhood
# Date created: 2003/04/06
# Whom: Heiner <h.eichmann@gmx.de>
#
# $FreeBSD$
#
PORTNAME= LinNeighborhood
PORTVERSION= 0.6.5
PORTREVISION= 5
CATEGORIES= sysutils
MASTER_SITES= http://www.bnro.de/~schmidjo/download/
MAINTAINER= barner@gmx.de
COMMENT= GTK+ gui for browsing and mounting SMB filesystems
RUN_DEPENDS= smbclient:${PORTSDIR}/net/samba
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_GNOME= gtk12
USE_REINPLACE= yes
CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}"\
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}"\
CC="${CC} -I${LOCALBASE}/include"
# ^
# this was done intentionaly in order to make `configure' pick up libintl.h
.include <bsd.port.pre.mk>
post-patch:
${CP} ${FILESDIR}/mntent* ${WRKSRC}/src
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/configure
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>