pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Installing MaraDNS on Solaris 10/SPARC using pkgsrc-2007Q2



Thanks for your reply Joerg.

I've just made it work a few seconds ago (Solaris 10/SPARC/pkgsrc-2007Q2)

I'm attaching the patches needed.

2007/9/5, Joerg Sonnenberger <joerg%britannica.bec.de@localhost>:
> On Wed, Sep 05, 2007 at 06:35:51PM -0500, Gerardo Santana G?mez Garrido
> wrote:
> > I've found MaraDNS programs under /usr/bin. Somehow PREFIX is not
> > honored. Has anybody installed MaraDNS with success?
>
> Only the version in HEAD when I updated it.
>
> Joerg
>


-- 
Gerardo Santana
--- configure.orig      Tue Feb 15 03:55:30 2005
+++ configure   Wed Sep  5 19:03:36 2007
@@ -48,7 +48,6 @@
        echo It looks like you are using Linux\; just type in \'make\'
 elif echo $UNAME | grep -i sunos > /dev/null ; then
        cat $BUILDDIR/Makefile.solaris >> Makefile
-       cp $BUILDDIR/install.solaris $BUILDDIR/install.locations
        echo It looks like you are using Solaris\; typing in \'make\'
        echo should work
        exit 0
@@ -72,6 +71,9 @@
        cat $BUILDDIR/Makefile.noflock >> Makefile
        echo It looks like you are using Cygwin\; this should compile file
        echo by typing in \'make\'.
+elif echo $UNAME | grep -i netbsd > /dev/null ; then
+       cat $BUILDDIR/Makefile.linux >> Makefile
+       echo It looks like you are using NetBSD\; just type in \'make\'
 else
        cat $BUILDDIR/Makefile.noflock >> Makefile
        echo I am not familiar with the OS you are running.  Please email
--- build/Makefile.solaris.orig Wed Sep  5 19:32:08 2007
+++ build/Makefile.solaris      Wed Sep  5 19:32:29 2007
@@ -38,7 +38,7 @@
        cd server; strip maradns ; cd ../tuzona ; strip zoneserver getzone ; cd 
../tools ; strip askmara
 
 install:
-       cd build ; TOPLEVEL=`pwd`/.. VERSION=$(VERSION) PREFIX=/usr 
./install.sh ; $(CC) copy.devs.c ; ./a.out ; rm ./a.out ; cd ..
+       cd build ; TOPLEVEL=`pwd`/.. VERSION=$(VERSION) PREFIX=/usr/pkg/ 
./install.sh ; $(CC) copy.devs.c ; ./a.out ; rm ./a.out ; cd ..
 
 uninstall:
        VERSION=$(VERSION) ./build/uninstall.sh


Home | Main Index | Thread Index | Old Index