Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Mar 2014 14:14:41 +0100 (CET)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        FreeBSD stable <freebsd-stable@freebsd.org>
Subject:   Re: Unable to compile sysutils/lsof on stable/9 r262601
Message-ID:  <alpine.BSF.2.00.1403011412560.71711@mail.fig.ol.no>
In-Reply-To: <alpine.BSF.2.00.1403011352400.71711@mail.fig.ol.no>
References:  <alpine.BSF.2.00.1403011324080.71711@mail.fig.ol.no> <alpine.BSF.2.00.1403011352400.71711@mail.fig.ol.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 1 Mar 2014 13:54+0100, Trond Endrestøl wrote:

> I prepared this patch for sysutils/lsof/Makefile:
> 
> --- Makefile.orig	2013-11-08 07:52:46.422242305 +0100
> +++ Makefile	2014-03-01 13:48:48.234052257 +0100
> @@ -55,8 +55,8 @@
>  IGNORE=		requires kernel sources
>  .endif
>  
> -.if !defined(FIXUP_RELEASE)
>  post-extract:
> +.if !defined(FIXUP_RELEASE)
>  	@( cd ${WRKDIR}/${DISTNAME} ; \
>  	EXPMD5=`${SED} -n 's/^[[:blank:]]*\(MD5*=*\)/\1/p' README.${DISTNAME}` ; \
>  	CALCMD5=`${MD5} ${SRCBALL_NAME}.tar` ; \
> @@ -69,6 +69,7 @@
>  	)
>  	@( cd ${WRKSRC} ; ${ECHO_CMD} "y" | ./Inventory || exit 1 )
>  .endif
> +	@( touch ${WRKSRC}/opt_kdtrace.h || exit 1 )
>  
>  do-install:
>  	${INSTALL_PROGRAM} ${WRKSRC}/lsof ${STAGEDIR}${PREFIX}/sbin

The patch is unneeded as sysutils/lsof/Makefile r346597 and lsof 4.88F 
solves the problem. Great job!

-- 
+-------------------------------+------------------------------------+
| Vennlig hilsen,               | Best regards,                      |
| Trond Endrestøl,              | Trond Endrestøl,                   |
| IT-ansvarlig,                 | System administrator,              |
| Fagskolen Innlandet,          | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,       | Cellular...: +47 952 62 567,       |
| sentralbord 61 14 54 00.      | Switchboard: +47 61 14 54 00.      |
+-------------------------------+------------------------------------+



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1403011412560.71711>