View Single Post
  #5   (View Single Post)  
Old 5th November 2013
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 1,027
Default

I took a slightly different route and compiled mplayer from source, without using the pkgsrc system. This will install it under /usr/local instead of /usr/pkg. The advantage is you don't have to know anything about pkgsrc compilation. The disadvantage is you won't learn anything about pkgsrc compilation.

I did this for MPlayer-1.1.1 on i386 (can't say if it will work for amd64). Just get the source and install any prerequisite binary packages. Then my notes say:

Code:
To compile, and especially re-compile, for NetBSD,

   **** be sure to use __ gmake __ ****

So:

Install the codecs.

> gmake distclean  OR  gmake clean

> CFLAGS= ./configure

> gmake

# gmake install | tee Install.Out
Might be worth a try.
Reply With Quote