Women in Technology

Hear us Roar



Article:
  Monitoring Network Traffic with Netflow
Subject:   libnsl on FreeBSD
Date:   2005-09-17 18:10:52
From:   jasontaylor1
Response to: libnsl on FreeBSD

Hi,


Any chance of posting a patch to Makefile.PL?


Thanks


Jason

Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • libnsl on FreeBSD
    2005-09-17 23:17:39  lukasz@bromirski.net [View]


    --- Makefile.PL Fri Jan 11 23:23:52 2002
    +++ Makefile-wo-lnsl.PL Fri Sep 16 23:47:10 2005
    @@ -35,7 +35,7 @@
    } else {
    # neither found... cflowd support only.
    return { INC => join(' ', $incdir),
    - LIBS => [ join(' ', $libdir, '-lnsl') ] }
    + LIBS => [ join(' ', $libdir ) ] }
    }
    }

    @@ -51,7 +51,7 @@
    print "Found flow-tools... using \"-DOSU $incdir $libdir -lft -lz\".\n";
    return { CCFLAGS => '-DOSU',
    INC => join(' ', $incdir),
    - LIBS => [ join(' ', $libdir, '-lnsl -lft -lz') ] }
    + LIBS => [ join(' ', $libdir, '-lft -lz') ] }
    }
    return undef
    }
    @@ -68,7 +68,7 @@
    print "Found argus... using \"-DARGUS $incdir $dir/argus_common.a $dir/argus_parse.a\".\n";
    return { CCFLAGS => '-DARGUS',
    INC => join(' ', $incdir),
    - LIBS => [ join(' ', $libdir, '-lnsl', '-lm') ],
    + LIBS => [ join(' ', $libdir, '-lm') ],
    LDFROM => "\$(OBJECT) $dir/argus_common.a $dir/argus_parse.a" }
    }
    return undef