blob: 8e4f8b3178fa9c337b738c4423e20c719399ee23 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Created by: ijliao
# $FreeBSD$
PORTNAME= sock
PORTVERSION= 1.4
CATEGORIES= net
MASTER_SITES= SF/rx${PORTNAME}/rx${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= rexx-
DISTNAME= RxSock-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Function package for Rexx programmers to create sockets
BUILD_DEPENDS= rexx-regina>=3.3_1:${PORTSDIR}/lang/rexx-regina
RUN_DEPENDS= rexx-regina>=3.3_1:${PORTSDIR}/lang/rexx-regina
USES= gmake
GNU_CONFIGURE= yes
CPPFLAGS+= ${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LIBS}
CONFIGURE_ARGS= --with-rexx=regina
MAKE_ARGS= INSTALL="${INSTALL}"
USE_LDCONFIG= yes
DATADIR= ${PREFIX}/share/rx${PORTNAME}
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|ld -Bdynamic -Bshareable|$${CC} -shared|g' \
${WRKSRC}/configure
.for file in Makefile.in rxsock-config.in
@${REINPLACE_CMD} -e 's|-lc||g' ${WRKSRC}/${file}
.endfor
.include <bsd.port.mk>
|