minor tweaks:

- fix includes, since we have float math functions.
- use system libtool
This commit is contained in:
espie 2005-05-07 12:59:13 +00:00
parent 4279f88857
commit 1acbae9ab6
2 changed files with 18 additions and 1 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.3 2005/05/07 11:53:03 espie Exp $
# $OpenBSD: Makefile,v 1.4 2005/05/07 12:59:13 espie Exp $
COMMENT='C++ toolkit for GUI'
CATEGORIES=devel
DISTNAME=fox-1.4.12
PKGNAME=${DISTNAME}p0
MASTER_SITES=${HOMEPAGE}/ftp/
HOMEPAGE=http://www.fox-toolkit.org/
MAINTAINER=Marc Espie <espie@openbsd.org>
@ -26,5 +27,7 @@ PERMIT_DISTFILES_FTP=Yes
PERMIT_DISTFILES_CDROM=Yes
PERMIT_PACKAGE_FTP=Yes
PERMIT_PACKAGE_CDROM=Yes
USE_LIBTOOL= Yes
WANTLIB= GL GLU X11 Xext c m stdc++ z pthread
.include <bsd.port.mk>

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-include_fxdefs_h,v 1.1 2005/05/07 12:59:13 espie Exp $
--- include/fxdefs.h.orig Sat May 7 14:36:10 2005
+++ include/fxdefs.h Sat May 7 14:36:54 2005
@@ -601,6 +601,10 @@ typedef tagMSG FXRawEven
* Define FLOAT_MATH_FUNCTIONS if these functions are available in some other
* library you're linking to.
*/
+#ifdef __OpenBSD__
+#define FLOAT_MATH_FUNCTIONS
+#endif
+
#ifndef FLOAT_MATH_FUNCTIONS
#ifndef __USE_ISOC99
#ifndef __APPLE__