TIP: Click on subject to list as thread! ANSI
echo: fidosoft.husky
to: Wilfred van Velzen
from: Benny Pedersen
date: 2013-12-29 09:39:28
subject: nltools Makefile bug

Hello Wilfred!

24 Dec 2013 15:30, Wilfred van Velzen wrote to Developers:

 WvV> # diff Makefile Makefile.new
 WvV> 16c16
 WvV> < default: nldiff$(_EXE) nlcrc$(_EXE) ulc$(_EXE) nlupdate$(_EXE)
 WvV> -+-
 >> default: nldiff$(_EXE) nlcrc$(_EXE) ulc$(_EXE) nlupd$(_EXE)

its just that i think you should keep nlupdate as name, so its really not
fixed with the above

   ----- nltools-1.4.ebuild begins -----
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

inherit eutils cvs

DESCRIPTION="HUSKY Portable Fidosoft Project - nltools"
HOMEPAGE="http://husky.sf.net"
ECVS_AUTH="pserver"
ECVS_SERVER="husky.cvs.sourceforge.net:/cvsroot/husky"
ECVS_BRANCH="husky-1_4-stable"
ECVS_MODULE="huskybse nltools"
ECVS_CVS_COMPRESS="-z3"
ECVS_LOCALNAME="husky-1_4-stable"

LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="x86 amd64"
IUSE="-debug"

DEPEND="!net-fido/husky
        =net-fido/smapi-2.4
        =net-fido/fidoconf-1.4"
RDEPEND="${DEPEND}"

S="${WORKDIR}/${ECVS_LOCALNAME}"

DESTDIR_COMPILE="/"
DESTDIR_INSTALL="${D}"

src_unpack() {
        cvs_src_unpack
}

src_prepare() {
        cd "${S}"
        cp ./huskybse/huskymak.cfg ./
        
        # prevent to strip while linking
        sed -e 's:OPTLFLAGS=-s:OPTLFLAGS=:' -i huskymak.cfg
        
        # prevent to strip while installing
        sed -e 's:OPTIBOPT=-c -s -m 555:OPTIBOPT=-c -m 555:' -i huskymak.cfg
        
        use debug && sed -e 's:DEBUG=0:DEBUG=1:' -i huskymak.cfg
}

src_compile() {
        DESTDIR="${DESTDIR_COMPILE}"
        
        cd "${S}/nltools"
        emake PREFIX=${DESTDIR}usr \
                CFGDIR=${DESTDIR}etc/ftn \
                MANDIR=${DESTDIR}usr/share/man \
                || die "emake failed"
}

src_install() {
        DESTDIR="${DESTDIR_INSTALL}"
        
        cd "${S}/nltools"
        dodir /usr/bin
        MAKEOPTS="-j1" emake \
                PREFIX=${DESTDIR}usr \
                CFGDIR=${DESTDIR}etc/ftn \
                MANDIR=${DESTDIR}usr/share/man -j1 \
                install || die "emake install failed"
        insinto /etc/ftn
        newins sample.lnx config.nltools.sample
        doman man/*
}
   ----- nltools-1.4.ebuild ends -----

if your problem is gentoo/funtoo :)

note -j1, it should be fixed, eg make parallel build possible, without make
dependics screwup


 Regards Benny

... there can only be one way of life, and it works :)

--- Msged/LNX 6.2.0 (Linux/3.12.6-gentoo (i686))
* Origin: duggi.junc.org where qico is waiting (2:230/0)
SEEN-BY: 3/0 633/267 280 640/954 712/0 550 848
@PATH: 230/0 150 261/38 712/848 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.