[PATCH] enable MAKE_JOBS_SAFE for Vim build

2010-09-09 Thread David O'Brien
This patch allows me to build Vim in parallel.

Give it a try if you're interested.  Please let me know if you are
UNABLE to build with this patch applied.
[I only need to know of failures, thanks.]

-- 
-- David  (obr...@freebsd.org)

Index: Makefile
===
RCS file: /home/pcvs/ports/editors/vim/Makefile,v
retrieving revision 1.356
diff -u -p -r1.356 Makefile
--- Makefile9 Sep 2010 06:06:28 -   1.356
+++ Makefile9 Sep 2010 07:48:48 -
@@ -39,7 +39,7 @@ SLAVEDIRS=editors/vim-lite
 .endif
 
 CONFLICTS= vim6* vim*-lite
-MAKE_JOBS_UNSAFE= yes
+MAKE_JOBS_SAFE=yes
 USE_BZIP2= yes
 DIST_SUBDIR=   vim
 WRKSRC=${WRKDIR}/vim${PORTVERSION:C/\.[0-9]*$//:S/.//g}/src
@@ -195,6 +195,9 @@ post-patch:
${REINPLACE_CMD} -e 's,ctags -R \.,${CTAGS_CMD},g')
 
 pre-configure:
+   # Fix dependency misspelling so that 'make -j#' will work.
+   @${REINPLACE_CMD} -e 's|\./auto/osdef\.h|auto/osdef.h|g' \
+   ${WRKSRC}/Makefile
@(cd ${WRKSRC} ; ${MAKE} distclean)
@${REINPLACE_CMD} -e ' \
s|\$$gtk_config_prefix/bin/gtk-config|\$${GTK_CONFIG}|g; \
@@ -207,6 +210,9 @@ pre-configure:
${WRKSRC}/feature.h
 .endif
 
+post-configure:
+   @(cd ${WRKSRC} ; ${MAKE} scratch config)
+
 #  Clean up junk files to keep them from being installed.
 pre-install:
@${FIND} ${WRKSRC:H} -type f -name '*.orig' -delete
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: mc 4.7.4

2010-09-09 Thread Max Khon
Hi, All!

On Thu, Sep 9, 2010 at 1:35 PM, Christer Solskogen <
christer.solsko...@gmail.com> wrote:

I'm having trouble compiling it.
>
>  CC textconf.o
>  CC treestore.o
>  CC user.o
>  CC mountlist.o
>  CCLD   mc
> /usr/local/lib/libslang.so: undefined reference to `tgetnum'
> /usr/local/lib/libslang.so: undefined reference to `tgetflag'
> /usr/local/lib/libslang.so: undefined reference to `tgetent'
> /usr/local/lib/libslang.so: undefined reference to `tgetstr'
> gmake[3]: *** [mc] Error 1
> gmake[3]: Leaving directory `/usr/obj/usr/ports/misc/mc/work/mc-4.7.4/src'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory `/usr/obj/usr/ports/misc/mc/work/mc-4.7.4/src'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/obj/usr/ports/misc/mc/work/mc-4.7.4'
> gmake: *** [all] Error 2
> *** Error code 1
>
> Stop in /usr/ports/misc/mc.
> *** Error code 1
>
> Stop in /usr/ports/misc/mc.
>

I had not-up-to-date libslang2 port installed on my test box, that's why it
did build for me successfully.
The build should be fixed now.

Max
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: mc 4.7.4

2010-09-09 Thread Max Khon
Christer,

On Thu, Sep 9, 2010 at 7:51 PM, Christer Solskogen <
christer.solsko...@gmail.com> wrote:

> On Thu, Sep 9, 2010 at 7:35 PM, Christer Solskogen
> >  wrote:
> >>
> >> On Thu, Sep 9, 2010 at 2:13 PM, Max Khon  wrote:
> >>
> >> > I had not-up-to-date libslang2 port installed on my test box, that's
> why
> >> > it
> >> > did build for me successfully.
> >> > The build should be fixed now.
> >> >
> >>
> >> my libslang2 is up to date. Still problems.
> >> libslang2-2.2.2_1
> >
> > It was my libslang2 that was out of date. That's why mc could be built on
> my
> > build host.
> > Please update mc to 4.7.4_1.
> > Max
> >
>
> You mean downgrade? :)
> portupgrade mc wants to upgrade to mc-4.7.2_2
>

No, I mean upgrade. I mean mc 4.7.4_1 not 4.7.2_2

Max
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: mc 4.7.4

2010-09-09 Thread Christer Solskogen
On Thu, Sep 9, 2010 at 2:47 PM, Max Khon  wrote:
> Christer,
>
> On Thu, Sep 9, 2010 at 7:35 PM, Christer Solskogen
>  wrote:
>>
>> On Thu, Sep 9, 2010 at 2:13 PM, Max Khon  wrote:
>>
>> > I had not-up-to-date libslang2 port installed on my test box, that's why
>> > it
>> > did build for me successfully.
>> > The build should be fixed now.
>> >
>>
>> my libslang2 is up to date. Still problems.
>> libslang2-2.2.2_1
>
> It was my libslang2 that was out of date. That's why mc could be built on my
> build host.
> Please update mc to 4.7.4_1.
> Max
>

You mean downgrade? :)
portupgrade mc wants to upgrade to mc-4.7.2_2


-- 
chs,
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: mc 4.7.4

2010-09-09 Thread Max Khon
Christer,

On Thu, Sep 9, 2010 at 7:35 PM, Christer Solskogen <
christer.solsko...@gmail.com> wrote:

On Thu, Sep 9, 2010 at 2:13 PM, Max Khon  wrote:
>
> > I had not-up-to-date libslang2 port installed on my test box, that's why
> it
> > did build for me successfully.
> > The build should be fixed now.
> >
>
> my libslang2 is up to date. Still problems.
> libslang2-2.2.2_1


It was my libslang2 that was out of date. That's why mc could be built on my
build host.
Please update mc to 4.7.4_1.

Max
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: mc 4.7.4

2010-09-09 Thread Christer Solskogen
On Thu, Sep 9, 2010 at 2:13 PM, Max Khon  wrote:

> I had not-up-to-date libslang2 port installed on my test box, that's why it
> did build for me successfully.
> The build should be fixed now.
>

my libslang2 is up to date. Still problems.
libslang2-2.2.2_1

-- 
chs,
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Sogo

2010-09-09 Thread Jesse Smith
Hi Johan,

In regards to Sogo, I'll take a look at it and see if I can make a port
for FreeBSD. Depending on how the application is set up, this can take a
while to smooth out the differences between building on Linux and
building on FreeBSD.

Regards,
Jesse


___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


test builds for which architectures

2010-09-09 Thread Dominic Fandrey
Back in July a discussion on this list convinced me that it
would be useful to run my own tinderbox and provide logs together
with my ports PRs and once the thing has started working for me,
look at other PRs and run test builds for them, too.

Now, after an embarrassingly long time, the box is finally up and
running, the first test builds have been quite satisfying.

So now that the thing works I scrapped all the tinderbox jails to
create a more thought through setup.

Now I wonder, which builds should I provide? Will RELENG_8 and
RELENG_7 amd64/i386 builds suffice or should I also provide logs
for the 7.3 and 8.1 releases?

Regards

-- 
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail? 
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: mc 4.7.4

2010-09-09 Thread Kurt Jaeger
Hi!

> I'm having trouble compiling it.
> 
>   CC textconf.o
>   CC treestore.o
>   CC user.o
>   CC mountlist.o
>   CCLD   mc
> /usr/local/lib/libslang.so: undefined reference to `tgetnum'
> /usr/local/lib/libslang.so: undefined reference to `tgetflag'
> /usr/local/lib/libslang.so: undefined reference to `tgetent'
> /usr/local/lib/libslang.so: undefined reference to `tgetstr'
> gmake[3]: *** [mc] Error 1
> gmake[3]: Leaving directory `/usr/obj/usr/ports/misc/mc/work/mc-4.7.4/src'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory `/usr/obj/usr/ports/misc/mc/work/mc-4.7.4/src'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/obj/usr/ports/misc/mc/work/mc-4.7.4'
> gmake: *** [all] Error 2
> *** Error code 1
> 
> Stop in /usr/ports/misc/mc.
> *** Error code 1
> 
> Stop in /usr/ports/misc/mc.

cd /usr/ports/misc/mc/work/mc-4.7.4/src
vi Makefile

Find ^LIBS and add -lcurses:

LIBS = -lcurses

then:

cd /usr/ports/misc/mc
make install

should work, but still, why does it not pick it up in the configure script ?
 
-- 
p...@opsec.eu+49 171 310137210 years to go !
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: mc 4.7.4

2010-09-09 Thread Sergey V. Dyatko
On Thu, 9 Sep 2010 08:35:45 +0200
Christer Solskogen  wrote:

> I'm having trouble compiling it.
> 
>   CC textconf.o
>   CC treestore.o
>   CC user.o
>   CC mountlist.o
>   CCLD   mc
> /usr/local/lib/libslang.so: undefined reference to `tgetnum'
> /usr/local/lib/libslang.so: undefined reference to `tgetflag'
> /usr/local/lib/libslang.so: undefined reference to `tgetent'
> /usr/local/lib/libslang.so: undefined reference to `tgetstr'
> gmake[3]: *** [mc] Error 1
> gmake[3]: Leaving directory
> `/usr/obj/usr/ports/misc/mc/work/mc-4.7.4/src' gmake[2]: ***
> [all-recursive] Error 1 gmake[2]: Leaving directory
> `/usr/obj/usr/ports/misc/mc/work/mc-4.7.4/src' gmake[1]: ***
> [all-recursive] Error 1 gmake[1]: Leaving directory
> `/usr/obj/usr/ports/misc/mc/work/mc-4.7.4' gmake: *** [all] Error 2
> *** Error code 1
> 
> Stop in /usr/ports/misc/mc.
> *** Error code 1
> 
> Stop in /usr/ports/misc/mc.
> 
> 

same error at -HEAD, i386

> FreeBSD shine 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Thu Jul 29 13:03:57
> CEST 2010 r...@shine.antarctica.no:/usr/obj/usr/src/sys/SHINE
> amd64
> 



-- 
wbr, tiger
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"