svn commit: r328030 - in head/news/c-nocem: . files
Dirk Meyer
dinoex at FreeBSD.org
Mon Sep 23 18:54:30 UTC 2013
Author: dinoex
Date: Mon Sep 23 18:54:29 2013
New Revision: 328030
URL: http://svnweb.freebsd.org/changeset/ports/328030
Log:
- fix perl compatibility with getopt
Modified:
head/news/c-nocem/Makefile
head/news/c-nocem/files/patch-c-nocem.in
Modified: head/news/c-nocem/Makefile
==============================================================================
--- head/news/c-nocem/Makefile Mon Sep 23 18:53:17 2013 (r328029)
+++ head/news/c-nocem/Makefile Mon Sep 23 18:54:29 2013 (r328030)
@@ -2,7 +2,7 @@
PORTNAME= c-nocem
PORTVERSION= 3.7
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= news security
MASTER_SITES= http://sites.inka.de/~bigred/sw/ \
ftp://ftp.dinoex.de/pub/FreeBSD/distfiles/
Modified: head/news/c-nocem/files/patch-c-nocem.in
==============================================================================
--- head/news/c-nocem/files/patch-c-nocem.in Mon Sep 23 18:53:17 2013 (r328029)
+++ head/news/c-nocem/files/patch-c-nocem.in Mon Sep 23 18:54:29 2013 (r328030)
@@ -1,8 +1,20 @@
---- c-nocem.in.orig Wed Nov 3 00:47:28 1999
-+++ c-nocem.in Sat Mar 11 12:07:58 2000
+--- c-nocem.in.orig 2000-05-23 11:39:01.000000000 +0200
++++ c-nocem.in 2013-09-23 20:20:58.000000000 +0200
@@ -1,4 +1,4 @@
-#!@PERL@ -w
+#!@PERL@
# and once again for Emacs: -*-perl-*-
# NoCeM in the spool for C News and INN - grand unified program
+@@ -30,9 +30,9 @@
+ $logfile="@newslogfile@";
+ $ENV{'PATH'}="@newspath@";
+
+-require "getopts.pl";
++use Getopt::Std qw(getopts);
+ $opt_t=86400; $opt_l=$opt_a="";
+-&Getopts("bc:t:nsd:klraz:C");
++&getopts("bc:t:nsd:klraz:C");
+ $storageapi=0;
+ $opt_c=99999999 if ($opt_C);
+ if ($opt_c) {
More information about the svn-ports-all
mailing list