aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2006-04-20 05:23:40 +0800
committerahze <ahze@FreeBSD.org>2006-04-20 05:23:40 +0800
commit87d52e42230ef0b37922d4a62bf4cdb700158518 (patch)
treef63d1ca70e6a7ef6b68fd5b2ea3fd3cf1cfbbd66 /math
parent121226732021c5410dfe2d1ebc6317b2beb12260 (diff)
downloadfreebsd-ports-gnome-87d52e42230ef0b37922d4a62bf4cdb700158518.tar.gz
freebsd-ports-gnome-87d52e42230ef0b37922d4a62bf4cdb700158518.tar.zst
freebsd-ports-gnome-87d52e42230ef0b37922d4a62bf4cdb700158518.zip
- install mathl.h on i386
- Bump PORTREVISION Requested by: thierry to unbreak lang/gambas
Diffstat (limited to 'math')
-rw-r--r--math/ldouble/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/math/ldouble/Makefile b/math/ldouble/Makefile
index 3a8f67edc6ad..85db65e85582 100644
--- a/math/ldouble/Makefile
+++ b/math/ldouble/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ldouble
PORTVERSION= 0.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_LOCAL}
# http://www.moshier.net/
@@ -34,6 +34,7 @@ LDOUBLE_DISTFILE= ldouble.zip
USE_ZIP= yes
EXTRA_PATCHES= ${FILESDIR}/i386-makefile-patch
PORTDOCS= ldoubdoc.html
+PLIST_FILES+= include/mathl.h
.else
LDOUBLE_DISTFILE= 128bit.tgz
EXTRA_PATCHES= ${FILESDIR}/128-makefile-patch
@@ -54,5 +55,8 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/libml.a ${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/libml.so.0 ${PREFIX}/lib
${LN} -sf libml.so.0 ${PREFIX}/lib/libml.so
+.if ${ARCH}=="i386"
+ ${INSTALL_DATA} ${WRKSRC}/protos.h ${PREFIX}/include/mathl.h
+.endif
.include <bsd.port.post.mk>