diff options
author | arved <arved@FreeBSD.org> | 2004-09-03 03:29:35 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2004-09-03 03:29:35 +0800 |
commit | 4d80be9e574676fa290521f9ad308f1eacd88558 (patch) | |
tree | e9d528e557dc0ffa1dcc118eb25138eb86f26121 /ftp | |
parent | 8643df3c8f669a2ed702fdf86455f69786c8eda7 (diff) | |
download | freebsd-ports-graphics-4d80be9e574676fa290521f9ad308f1eacd88558.tar.gz freebsd-ports-graphics-4d80be9e574676fa290521f9ad308f1eacd88558.tar.zst freebsd-ports-graphics-4d80be9e574676fa290521f9ad308f1eacd88558.zip |
Fix handling of libgnugetopt to fix build on 5.x
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/wput/Makefile | 4 | ||||
-rw-r--r-- | ftp/wput/files/patch-configure.in | 17 |
2 files changed, 1 insertions, 20 deletions
diff --git a/ftp/wput/Makefile b/ftp/wput/Makefile index 97d72c0b77d..49fbe98dd77 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 70d23a0d02f..00000000000 --- 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.")] - ) - ], |