pkgsrc-Bugs archive

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

pkg/53304: [patch] Fix spidermonkey52 package creation on Linux



>Number:         53304
>Category:       pkg
>Synopsis:       [patch] Fix spidermonkey52 package creation on Linux
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue May 22 11:40:00 +0000 2018
>Originator:     nia
>Release:        current
>Organization:
>Environment:
Linux zenbook 4.16.9-1-ARCH #1 SMP PREEMPT Thu May 17 02:10:09 UTC 2018 x86_64 GNU/Linux
>Description:
=> Checking file-check results for spidermonkey52-52.7.4nb1
ERROR: ************************************************************
ERROR: The following files are in /home/sks/pkgsrc/lang/spidermonkey52/work/.destdir/pkg but not in the PLIST:                                                                                                     
ERROR:         /home/sks/pkgsrc/lang/spidermonkey52/work/.destdir/pkg/include/mozjs-52/mozilla/LinuxSignal.h  
>How-To-Repeat:

>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/spidermonkey52/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile	20 May 2018 17:45:52 -0000	1.5
+++ Makefile	22 May 2018 11:38:46 -0000
@@ -17,6 +17,8 @@
 USE_TOOLS+=	pkg-config perl gmake autoconf213
 AUTOCONF_REQD=	2.13
 
+PLIST_VARS+=	linux
+
 CONFIGURE_ARGS+=	--prefix=${PREFIX}
 CONFIGURE_ARGS+=	--enable-readline
 CONFIGURE_ARGS+=	--with-system-icu
@@ -33,11 +35,17 @@
 PYTHON_VERSIONS_ACCEPTED=	27
 PYTHON_FOR_BUILD_ONLY=		yes
 
+.include "../../mk/bsd.prefs.mk"
+
 .if ${MACHINE_ARCH} == "i386"
 # Needs 8 byte atomics.
 CXXFLAGS+=		-march=i586
 .endif
 
+.if ${OPSYS} == "Linux"
+PLIST.linux=		yes
+.endif
+
 # fails, does not find hg/git checkout
 TEST_TARGET=		check
 
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/lang/spidermonkey52/PLIST,v
retrieving revision 1.3
diff -u -r1.3 PLIST
--- PLIST	16 May 2018 11:36:36 -0000	1.3
+++ PLIST	22 May 2018 11:38:46 -0000
@@ -97,6 +97,7 @@
 include/mozjs-52/mozilla/JSONWriter.h
 include/mozjs-52/mozilla/Likely.h
 include/mozjs-52/mozilla/LinkedList.h
+${PLIST.linux}include/mozjs-52/mozilla/LinuxSignal.h
 include/mozjs-52/mozilla/MacroArgs.h
 include/mozjs-52/mozilla/MacroForEach.h
 include/mozjs-52/mozilla/MathAlgorithms.h


Home | Main Index | Thread Index | Old Index