pkgsrc-Bugs archive

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

pkg/39956: patch from strace-4.5.15nb1



>Number:         39956
>Category:       pkg
>Synopsis:       patch from strace-4.5.15nb1
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 19 00:40:00 +0000 2008
>Originator:     kamel
>Release:        NetBSD 5.99.01
>Organization:
Algerie Motors 
>Environment:
NetBSD falouja 5.99.01 NetBSD 5.99.01 (JIHBED-$Revision: 1.233 $) #0: Thu Nov 
13 00:06:44 UTC 2008  root@faloudja:/usr/obj/sys/arch/amd64/compile/JIHBED amd64
>Description:


When running 'make install' following error appears:

===> Building for strace-4.5.15nb1
cd netbsd && make
make: don't know how to make syscalls.pl. Stop

make: stopped in /usr/pkgsrc/sysutils/strace/work/strace-4.5.15/netbsd
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/sysutils/strace/work/strace-4.5.15
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/sysutils/strace
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/sysutils/strace

>How-To-Repeat:

>Fix:
To adjust Makefile, I have to add the condition "OPSYS == NetBSD": 


--- Makefile.orig       2008-11-18 22:22:48.000000000 +0000
+++ Makefile    2008-11-18 23:46:12.000000000 +0000
@@ -24,9 +24,14 @@

 .include "../../mk/bsd.prefs.mk"
 .if ${OPSYS} == "Linux"
-USE_TOOLS+=            autoconf
+USE_TOOLS+=            autoconf
 pre-configure:
        cd ${WRKSRC} && autoconf
 .endif

+.if ${OPSYS} == "NetBSD"
+pre-configure:
+       ${CP} -f ${WRKSRC}/syscalls.pl ${WRKSRC}/netbsd
+.endif
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index