mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
df4192a33a
which has been used for things like a cairo binding. As the ffi often requires loading libs which need pthreads, and we can't load pthreads during dlopen, link nickle against the pthreads lib to begin with.
29 lines
721 B
Makefile
29 lines
721 B
Makefile
# New ports collection makefile for: nickle
|
|
# Date created: 16 April 2001
|
|
# Whom: Christopher Elkins <chrise@scardini.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= nickle
|
|
PORTVERSION= 2.45
|
|
CATEGORIES= lang
|
|
MASTER_SITES= http://www.nickle.org/release/
|
|
|
|
MAINTAINER= anholt@FreeBSD.org
|
|
COMMENT= A desk calculator language
|
|
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
|
|
# Nickle now has bindings which are likely to pull in libraries that need
|
|
# libpthread. Link to it now, since it wouldn't work at runtime.
|
|
CFLAGS+= ${PTHREAD_CFLAGS}
|
|
LDFLAGS+= ${PTHREAD_LIBS}
|
|
CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
MAN1= nickle.1
|
|
|
|
.include <bsd.port.mk>
|