mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
get rid of libgnugetopt dependency for -CURRENT,
use USE_GETOPT_LONG instead. use getopt_long() instead of getopt_long_only(). Obtained from: NetBSD
This commit is contained in:
parent
51de64b4e7
commit
97cde34830
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=84840
mail/ifile
@ -7,21 +7,17 @@
|
||||
|
||||
PORTNAME= ifile
|
||||
PORTVERSION= 1.3.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail textproc
|
||||
MASTER_SITES= http://savannah.nongnu.org/download/ifile/default.pkg/${PORTVERSION}/
|
||||
|
||||
MAINTAINER= david+ports@bushong.net
|
||||
COMMENT= An application of machine learning to e-mail filtering
|
||||
|
||||
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
|
||||
|
||||
USE_GETOPT_LONG=yes
|
||||
USE_REINPLACE= yes
|
||||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
MAN1= ifile.1
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,-lm,-lm -L${LOCALBASE}/lib -lgnugetopt,' \
|
||||
${WRKSRC}/Makefile.in
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
11
mail/ifile/files/patch-Makefile.in
Normal file
11
mail/ifile/files/patch-Makefile.in
Normal file
@ -0,0 +1,11 @@
|
||||
--- Makefile.in.orig Tue Jun 10 23:09:27 2003
|
||||
+++ Makefile.in Mon Jul 7 06:50:51 2003
|
||||
@@ -46,7 +46,7 @@
|
||||
CFLAGS = @CFLAGS@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
INCLUDEFLAGS =
|
||||
-LDFLAGS =
|
||||
+LDFLAGS = @LDFLAGS@
|
||||
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
11
mail/ifile/files/patch-argp_argp.h
Normal file
11
mail/ifile/files/patch-argp_argp.h
Normal file
@ -0,0 +1,11 @@
|
||||
--- argp/argp.h.orig Tue Jun 10 23:09:27 2003
|
||||
+++ argp/argp.h Mon Jul 7 04:31:41 2003
|
||||
@@ -352,7 +352,7 @@
|
||||
#define ARGP_NO_EXIT 0x20
|
||||
|
||||
/* Use the gnu getopt `long-only' rules for parsing arguments. */
|
||||
-#define ARGP_LONG_ONLY 0x40
|
||||
+#define ARGP_LONG_ONLY 0x00
|
||||
|
||||
/* Turns off any message-printing/exiting options. */
|
||||
#define ARGP_SILENT (ARGP_NO_EXIT | ARGP_NO_ERRS | ARGP_NO_HELP)
|
Loading…
Reference in New Issue
Block a user