Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jul 2014 15:33:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 191899] [MAINTAINER] lang/sml-nj-devel: update to 110.76, unbreak, pkgngify, stagify, +amd64, -gmake
Message-ID:  <bug-191899-13-RMVChTg8fa@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191899-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-191899-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191899

--- Comment #5 from joemann@beefree.free.de ---
(In reply to Robert Cina from comment #4)
> I applied the attached patch above to the current sml-nj-devel port
> but it failed with the following output:
> [...]
> ./config/install.sh: !!! patch file /usr/ports/lang/sml-nj-devel/files/do-patch-base_runtime_objs_makefile.orig failed to patch.
> *** Error code 1

Can you see an empty file do-patch-base_runtime_objs_makefile.orig in
the files subdirectory of the port? If so, then you applied the patch
manually but did not remove the remaining junk like old (*.orig)
versions. You could run something like

    find . \( -name '*.orig' -o -size 0c \) -print -delete

in the sml-nj-devel directory before starting the build.
Another option is to check out and patch the port using svn:

    svnlite co svn://svn.FreeBSD.org/ports/head/lang/sml-nj-devel
sml-nj-devel.svn
    # A    sml-nj-devel.svn/pkg-plist
    # A    sml-nj-devel.svn/Makefile
    # [...]
    cd sml-nj-devel.svn
    fetch -o smlnj-devel-110.76.patch -q --no-verify-peer
'https://bugs.freebsd.org/bugzilla/attachment.cgi?id=144727'
    md5 smlnj-devel-110.76.patch
    # MD5 (smlnj-devel-110.76.patch) = 048e1ed9c49ef6ed9e33244a82752221
    svnlite patch smlnj-devel-110.76.patch
    # U         Makefile
    # U         distinfo
    # A         files/do-patch-base_runtime_objs_makefile
    # [...]

This way you won't need the above `find ... -delete` because svn
automagically does the right thing.

> Below is my system details.  
> $ uname -a
> FreeBSD polyfree.my.domain 10.0-STABLE FreeBSD 10.0-STABLE #9 r268458: Wed Jul  9 12:39:50 EDT 2014 root@polyfree.my.domain:/usr/obj/usr/src/sys/GENERIC  amd64

Great, that's exactly the configuration (FreeBSD 10 amd64) which I
can't test myself.

> Hope the above information helps as I am interested in having a
> working sml-nj-devel port.

And I'm very interested in getting to know what happens to your build
after you remove *.orig:-)

Cheers
Johannes

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-191899-13-RMVChTg8fa>