openbsd-ports/sysutils/findlib/Makefile
avsm de30324362 Fix findlib to correctly detect posix threading instead of vm threads for
ocaml apps compiled using it.

Issue was that the configure script which tried threads gets confused by
the spurious OpenBSD linker warnings about sprintf and falls back to VM
threads.

Bump PKGNAME, and trim an unneeded line from PLIST while here.

Reported by Adam Montague <amontague@siriushosting.com> and
Ivan M Makarenko <I.Makarenko@zsttk.ru>.
2006-12-26 23:09:32 +00:00

31 lines
782 B
Makefile

# $OpenBSD: Makefile,v 1.10 2006/12/26 23:09:32 avsm Exp $
COMMENT= "Objective Caml package manager"
CATEGORIES= sysutils
DISTNAME= findlib-1.1.2pl1
PKGNAME= ${DISTNAME}p1
MASTER_SITES= http://www.ocaml-programming.de/packages/
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
HOMEPAGE= http://www.ocaml-programming.de/packages/
# MIT/X11
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
WANTLIB= X11 c curses m pthread tcl84
MODULES= lang/ocaml
LIB_DEPENDS= tk84.>=1:tk-8.4.*:x11/tk/8.4
NO_REGRESS= Yes
CONFIGURE_STYLE=simple
CONFIGURE_ARGS= -with-toolbox -config ${PREFIX}/share/examples/findlib/findlib.conf
ALL_TARGET= all ${MODOCAML_NATIVE:S,Yes,all opt,:S,No,,}
USE_GMAKE= Yes
USE_X11= Yes
.include <bsd.port.mk>