diff options
author | Johan van Selst <johans@FreeBSD.org> | 2007-10-11 13:46:13 +0000 |
---|---|---|
committer | Johan van Selst <johans@FreeBSD.org> | 2007-10-11 13:46:13 +0000 |
commit | 7c241d931c491f7dd188bc841b58d2b96b4201c2 (patch) | |
tree | 8ff55046a9e4d1d52bc62970cb3ae763060b70e6 /lang | |
parent | a7e85ae4891fbfac86145e99cffae37bd97b636b (diff) | |
download | ports-7c241d931c491f7dd188bc841b58d2b96b4201c2.tar.gz ports-7c241d931c491f7dd188bc841b58d2b96b4201c2.zip |
Notes
Diffstat (limited to 'lang')
-rw-r--r-- | lang/moscow_ml/Makefile | 6 | ||||
-rw-r--r-- | lang/moscow_ml/files/patch-dynlibs::msocket::msocket.c | 9 | ||||
-rw-r--r-- | lang/moscow_ml/pkg-plist | 2 |
3 files changed, 11 insertions, 6 deletions
diff --git a/lang/moscow_ml/Makefile b/lang/moscow_ml/Makefile index f79ea488b2cc..771190efe715 100644 --- a/lang/moscow_ml/Makefile +++ b/lang/moscow_ml/Makefile @@ -12,7 +12,7 @@ CATEGORIES= lang MASTER_SITES= http://www.dina.kvl.dk/~sestoft/mosml/ DISTNAME= mos201src -MAINTAINER= ports@FreeBSD.org +MAINTAINER= johans@stack.nl COMMENT= Moscow ML, a lightweight implementation of Standard ML LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4 \ @@ -32,10 +32,6 @@ PKGMESSAGE= ${WRKDIR}/pkgmessage .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 700042 -BROKEN= Broken with gcc 4.2 -.endif - post-patch: ${FIND} ${WRKSRC} -name Makefile | ${XARGS} \ ${REINPLACE_CMD} -e "s,-O2,${CFLAGS} -I${LOCALBASE}/include," diff --git a/lang/moscow_ml/files/patch-dynlibs::msocket::msocket.c b/lang/moscow_ml/files/patch-dynlibs::msocket::msocket.c index 21fa8728b6b6..e0f6e8d8482f 100644 --- a/lang/moscow_ml/files/patch-dynlibs::msocket::msocket.c +++ b/lang/moscow_ml/files/patch-dynlibs::msocket::msocket.c @@ -1,5 +1,14 @@ --- dynlibs/msocket/msocket.c.orig Fri Jan 21 15:37:13 2000 +++ dynlibs/msocket/msocket.c Sun Jun 9 12:40:19 2002 +@@ -68,7 +68,7 @@ + #ifdef macintosh + #define Sock_val(x) (Field(x,0)) + #else +-#define Sock_val(x) ((int) Field(x,0)) ++#define Sock_val(x) (Field(x,0)) + #endif + + /* Decomposition of addr values: */ @@ -469,6 +469,7 @@ EXTERNML value msocket_bind(value socket, value address) { int ret, size; diff --git a/lang/moscow_ml/pkg-plist b/lang/moscow_ml/pkg-plist index 4ce1aa80cb26..4c111adbcfdc 100644 --- a/lang/moscow_ml/pkg-plist +++ b/lang/moscow_ml/pkg-plist @@ -485,7 +485,7 @@ libexec/mosml/mosmldep @dirrm %%EXAMPLESDIR%%/weak @dirrm %%EXAMPLESDIR%%/webserver @dirrm %%EXAMPLESDIR%% -@dirrm share/doc/moscow_ml +@dirrm %%DOCSDIR%% @dirrm include/mosml @dirrm libexec/mosml @dirrm lib/mosml |