aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorAndrej Zverev <az@FreeBSD.org>2013-06-10 12:26:23 +0000
committerAndrej Zverev <az@FreeBSD.org>2013-06-10 12:26:23 +0000
commit91d4b1d810acb049f1fbb10a849ba111d3a5bb58 (patch)
tree12d4d8d0dc4486fb90d540f103ec92d06b50743a /ftp
parent9a94dd1ed741bca4440512604b119eab2ce99c62 (diff)
downloadports-91d4b1d810acb049f1fbb10a849ba111d3a5bb58.tar.gz
ports-91d4b1d810acb049f1fbb10a849ba111d3a5bb58.zip
Notes
Diffstat (limited to 'ftp')
-rw-r--r--ftp/rexx-curl/Makefile14
-rw-r--r--ftp/rexx-curl/files/patch-configure16
2 files changed, 21 insertions, 9 deletions
diff --git a/ftp/rexx-curl/Makefile b/ftp/rexx-curl/Makefile
index dbbdb73d144e..8281a668d5c6 100644
--- a/ftp/rexx-curl/Makefile
+++ b/ftp/rexx-curl/Makefile
@@ -1,10 +1,5 @@
-# ex:ts=8
-# Ports collection makefile for: rexx-curl
-# Date created: Nov 11, 2003
-# Whom: ijliao
-#
+# Created by: ijliao
# $FreeBSD$
-#
PORTNAME= curl
PORTVERSION= 1.4
@@ -18,10 +13,9 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= External function package providing an interface to the cURL package
BUILD_DEPENDS= rexx:${PORTSDIR}/lang/rexx-regina
-LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl
+LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl
RUN_DEPENDS= rexx:${PORTSDIR}/lang/rexx-regina
-BROKEN= fails to build
USE_GMAKE= yes
GNU_CONFIGURE= yes
CPPFLAGS+= ${PTHREAD_CFLAGS}
@@ -32,12 +26,14 @@ USE_LDCONFIG= yes
DOCSDIR= ${PREFIX}/share/doc/rexx${PORTNAME}
DATADIR= ${PREFIX}/share/rexx${PORTNAME}
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e "s| -lc | |g" -e "/\$(sharedir)\/images/d" \
-e "/index.html/d" -e "/rxcurl64.png/d" ${WRKSRC}/Makefile.in
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/index.html ${DOCSDIR}
@${MKDIR} ${DOCSDIR}/images
diff --git a/ftp/rexx-curl/files/patch-configure b/ftp/rexx-curl/files/patch-configure
new file mode 100644
index 000000000000..2c99ea09c5a9
--- /dev/null
+++ b/ftp/rexx-curl/files/patch-configure
@@ -0,0 +1,16 @@
+--- configure.orig 2005-07-28 11:01:07.000000000 +0000
++++ configure
+@@ -6240,8 +6240,12 @@ case "$target" in
+ LD_RXLIB1="${CC} -shared"
+ LD_RXTRANSLIB1="$LD_RXLIB1"
+ ;;
++ *dragonfly*)
++ LD_RXLIB1="${CC} -shared"
++ LD_RXTRANSLIB1="$LD_RXLIB1"
++ ;;
+ *freebsd*)
+- LD_RXLIB1="ld -Bdynamic -Bshareable"
++ LD_RXLIB1="${CC} -shared"
+ LD_RXTRANSLIB1="$LD_RXLIB1"
+ ;;
+ *pc-sco*)