On Thu, Feb 21 2019, Nam Nguyen <n...@berkeley.edu> wrote:
> Nam Nguyen <n@m> writes:
>> +EPOCH =             0
>
> After reading the FAQs, this should be REVISION and not EPOCH.

Yep.  But here, since the BUILD_DEPENDS you remove were not used at
all, they could not change the content of the resulting package, so
a REVISION bump is not needed either.  This is what I have committed.

While here, further tweaks:
- python3 already now exists, no need to create a symlink (also the
  ln -s fails if you restart the tests)
- skip the fuzz/ directory, this allows me to run make test

There's still something I have to untangle: with this diff, tests pass
on my laptop but not on my amd64 builder (wget.h not found).  Maybe
a hidden dep or something.

Meanwhile, ok?


Index: Makefile
===================================================================
RCS file: /cvs/ports/net/wget/Makefile,v
retrieving revision 1.77
diff -u -p -r1.77 Makefile
--- Makefile    22 Feb 2019 08:40:37 -0000      1.77
+++ Makefile    22 Feb 2019 08:44:14 -0000
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.77 2019/02/22 08:40:37 jca Exp $
+# $OpenBSD: Makefile,v 1.76 2019/02/21 22:32:31 sthen Exp $
 
 COMMENT =      retrieve files from the web via HTTP, HTTPS and FTP
 
@@ -46,8 +46,5 @@ MODGNU_CONFIG_GUESS_DIRS = ${WRKSRC}/bui
 
 pre-build:
        @${SUBST_CMD} ${WRKSRC}/doc/wget.texi ${WRKSRC}/doc/sample.wgetrc
-
-pre-test:
-       @ln -s ${MODPY_BIN} ${WRKDIR}/bin/python3
 
 .include <bsd.port.mk>
Index: patches/patch-Makefile_in
===================================================================
RCS file: patches/patch-Makefile_in
diff -N patches/patch-Makefile_in
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-Makefile_in   22 Feb 2019 08:44:14 -0000
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+Index: Makefile.in
+--- Makefile.in.orig
++++ Makefile.in
+@@ -1460,7 +1460,7 @@ distuninstallcheck_listfiles = find . -type f | \
+ ACLOCAL_AMFLAGS = -I m4
+ 
+ # subdirectories in the distribution
+-SUBDIRS = lib src doc po util fuzz tests testenv
++SUBDIRS = lib src doc po util tests testenv
+ EXTRA_DIST = MAILING-LIST \
+              msdos/config.h msdos/Makefile.DJ \
+              msdos/Makefile.WC ABOUT-NLS \

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to