aboutsummaryrefslogtreecommitdiff
path: root/ftp/wput
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2004-09-02 19:29:35 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2004-09-02 19:29:35 +0000
commit41d71c8fbba37ca3d00e03151719965ca7382dfd (patch)
tree225c2e349b35d464bf237a24555260dea5ad9939 /ftp/wput
parent484da7d4c116a6425f8245e626b8becd49785cc1 (diff)
downloadports-41d71c8fbba37ca3d00e03151719965ca7382dfd.tar.gz
ports-41d71c8fbba37ca3d00e03151719965ca7382dfd.zip
Fix handling of libgnugetopt to fix build on 5.x
Notes
Notes: svn path=/head/; revision=117965
Diffstat (limited to 'ftp/wput')
-rw-r--r--ftp/wput/Makefile4
-rw-r--r--ftp/wput/files/patch-configure.in17
2 files changed, 1 insertions, 20 deletions
diff --git a/ftp/wput/Makefile b/ftp/wput/Makefile
index 97d72c0b77dc..49fbe98dd77f 100644
--- a/ftp/wput/Makefile
+++ b/ftp/wput/Makefile
@@ -17,14 +17,12 @@ COMMENT= Uploads files or directories to a ftpserver with support of resuming
PORTDOCS= TODO ChangeLog
-USE_AUTOCONF_VER= 253
USE_GETOPT_LONG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
- LIBS="-L${LOCALBASE}/lib"
+CONFIGURE_ENV= LIBS="${LDFLAGS}"
PLIST_FILES= bin/wput
MAN1= wput.1
diff --git a/ftp/wput/files/patch-configure.in b/ftp/wput/files/patch-configure.in
deleted file mode 100644
index 70d23a0d02fc..000000000000
--- a/ftp/wput/files/patch-configure.in
+++ /dev/null
@@ -1,17 +0,0 @@
---- configure.in.orig Mon Jul 5 18:06:13 2004
-+++ configure.in Mon Jul 5 18:06:46 2004
-@@ -23,12 +23,12 @@
- AC_PROG_CC
- AC_CHECK_HEADERS([sys/termio.h, sys/winsize.h], AC_DEFINE(HAVE_TERMIO))
- AC_CHECK_HEADERS(getopt.h, [
-- AC_SEARCH_LIBS(getopt_long, gnugetopt, [],
-+ AC_SEARCH_LIBS(getopt_long, gnugetopt, [LIBS="-lgnugetopt"],
- [AC_MSG_ERROR("You need to get libgnugetopt or a newer GNU libc.")]
- )
- ],
- [AC_CHECK_HEADERS(gnugetopt/getopt.h, [
-- AC_SEARCH_LIBS(getopt_long, gnugetopt, [],
-+ AC_SEARCH_LIBS(getopt_long, gnugetopt, [LIBS="-lgnugetopt"],
- [AC_MSG_ERROR("You need to get libgnugetopt or a newer GNU libc.")]
- )
- ],