Unable to compile sysutils/lsof on stable/9 r262601

Trond Endrestøl Trond.Endrestol at fagskolen.gjovik.no
Sat Mar 1 13:14:45 UTC 2014


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.      |
+-------------------------------+------------------------------------+


More information about the freebsd-stable mailing list