diff options
author | johans <johans@FreeBSD.org> | 2007-10-11 21:46:13 +0800 |
---|---|---|
committer | johans <johans@FreeBSD.org> | 2007-10-11 21:46:13 +0800 |
commit | 9c206292a7aae5e5f94d5a36f3ef4d15f7661964 (patch) | |
tree | 826cad999f0760798d2a9cab247e547546aa4c7a /lang/moscow_ml | |
parent | 30db0902b5d52768c06c622b8743f6ca49182bbd (diff) | |
download | freebsd-ports-gnome-9c206292a7aae5e5f94d5a36f3ef4d15f7661964.tar.gz freebsd-ports-gnome-9c206292a7aae5e5f94d5a36f3ef4d15f7661964.tar.zst freebsd-ports-gnome-9c206292a7aae5e5f94d5a36f3ef4d15f7661964.zip |
- Fix compilation with gcc 4.2
- Grab maintainership
Diffstat (limited to 'lang/moscow_ml')
-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 |