pkgsrc-WIP-changes archive

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

pike8.0: eliminate some pkglint warnings. believe all of the remaining barking to be false positives (unusual target names, etc)



Module Name:	pkgsrc-wip
Committed By:	William Welliver <william%welliver.org@localhost>
Pushed By:	hww3
Date:		Fri Jan 4 11:01:18 2019 -0500
Changeset:	d9ac0d381de96dca9feeb760f815765429d44cbc

Modified Files:
	pike8.0/Makefile
	pike8.0/buildlink3.mk
	pike8.0/builtin_module.mk
	pike8.0/distinfo
	pike8.0/patches/patch-src_Makefile.in
	pike8.0/version.mk
Removed Files:
	pike8.0/configure

Log Message:
pike8.0: eliminate some pkglint warnings.
believe all of the remaining barking to be false positives (unusual target names, etc)

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d9ac0d381de96dca9feeb760f815765429d44cbc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 pike8.0/Makefile                      | 18 ++++++++----------
 pike8.0/buildlink3.mk                 | 10 ----------
 pike8.0/builtin_module.mk             | 14 +++++++-------
 pike8.0/configure                     |  0
 pike8.0/distinfo                      |  3 ++-
 pike8.0/patches/patch-src_Makefile.in |  2 +-
 pike8.0/version.mk                    |  1 +
 7 files changed, 19 insertions(+), 29 deletions(-)

diffs:
diff --git a/pike8.0/Makefile b/pike8.0/Makefile
index 1041ef7c0b..7dac51620e 100644
--- a/pike8.0/Makefile
+++ b/pike8.0/Makefile
@@ -1,8 +1,6 @@
 # $NetBSD$
 
-PIKEVERSUFFIX=	8.0
-
-.include 	"../../wip/pike${PIKEVERSUFFIX}/version.mk"
+.include 	"./version.mk"
 
 NAME=		pike${PIKEVERSUFFIX}
 PKGNAME=        ${NAME}-${PIKE_VERSION}
@@ -18,9 +16,9 @@ HOMEPAGE=       http://pike.lysator.liu.se/
 COMMENT=        Dynamic language with a syntax similar to Java and C
 
 CHECK_SSP=	no
-.if defined(PKGSRC_USE_SSP) 
- # do not add flags to everything 
-PKGSRC_USE_SSP= no 
+.if defined(PKGSRC_USE_SSP)
+# do not add flags to everything
+PKGSRC_USE_SSP= no
 .endif
 
 BUILD_DEPENDS+=	 pkgconf-[0-9]*:../../devel/pkgconf
@@ -29,8 +27,8 @@ MAKE_JOBS_SAFE= no
 GNU_CONFIGURE= yes
 CONFIGURE_SCRIPT=	src/configure
 #CONFIGURE_ARGS+= --without-machine-code
-CFLAGS+=	-O 
-BUILD_MAKE_FLAGS+= 
+CFLAGS+=	-O
+BUILD_MAKE_FLAGS+=
 USE_TOOLS+=gmake
 USE_LANGUAGES=  c c++
 
@@ -66,7 +64,7 @@ post-configure:
 	cp ${WRKSRC}/src/backend.c ${WRKSRC}/src/backend.cmod.c
 	cp ${WRKSRC}/src/builtin.c ${WRKSRC}/src/builtin.cmod.c
 	cp ${WRKSRC}/src/iterators.c ${WRKSRC}/src/iterators.cmod.c
-	touch ${WRKSRC}/src/backend.c 
+	touch ${WRKSRC}/src/backend.c
 	touch ${WRKSRC}/src/builtin.c
 	touch ${WRKSRC}/src/iterators.c
 
@@ -137,5 +135,5 @@ install-shared-docs:
 print-vars:
 	${ECHO} vars
 .for x in ${MAKEVARS}
-        ${ECHO} ${x}: ${${x}}
+	${ECHO} ${x}: ${${x}}
 .endfor
diff --git a/pike8.0/buildlink3.mk b/pike8.0/buildlink3.mk
index bf134bc8f3..baf3e4cb46 100644
--- a/pike8.0/buildlink3.mk
+++ b/pike8.0/buildlink3.mk
@@ -1,14 +1,4 @@
 # $NetBSD$
-# XXX
-# XXX This file was created automatically using createbuildlink-3.17.
-# XXX After this file has been verified as correct, the comment lines
-# XXX beginning with "XXX" should be removed.  Please do not commit
-# XXX unverified buildlink3.mk files.
-# XXX
-# XXX Packages that only install static libraries or headers should
-# XXX include the following line:
-# XXX
-# XXX	BUILDLINK_DEPMETHOD.pike8.0?=	build
 
 BUILDLINK_TREE+=	pike8.0
 
diff --git a/pike8.0/builtin_module.mk b/pike8.0/builtin_module.mk
index 537c31e092..d6f3adc813 100644
--- a/pike8.0/builtin_module.mk
+++ b/pike8.0/builtin_module.mk
@@ -15,8 +15,8 @@ MODULE_TYPE?=	module
 # in the main pike build, so it's not usually necessary to include a second one.
 MAKE_MODREF?=	no
 
-# should the build process check to make sure that the resulting module.so contains 
-# some elements? empty modules usually indicate a configure-time problem, so this 
+# should the build process check to make sure that the resulting module.so contains
+# some elements? empty modules usually indicate a configure-time problem, so this
 # is a good way to check that all of the libs were found and enabled.
 CHECK_MODULE_ENABLED?=	yes
 
@@ -30,9 +30,9 @@ DISTNAME=       Pike-v${PIKE_VERSION}
 PIKE_EXECUTABLE = pike${PIKEVERSUFFIX}
 
 CHECK_SSP=	no
-.if defined(PKGSRC_USE_SSP) 
- # do not add flags to everything 
-PKGSRC_USE_SSP= no 
+.if defined(PKGSRC_USE_SSP)
+# do not add flags to everything
+PKGSRC_USE_SSP= no
 .endif
 
 CATEGORIES=     lang
@@ -78,7 +78,7 @@ do-build:
 # run some build checks and make the module modref if desired.
 post-build:
 .if(${CHECK_MODULE_ENABLED} != "no")
-	cd ${WRKSRC}/${PIKE_MODULE_SRC} && ${PIKE_EXECUTABLE} -e 'return !sizeof(indices(load_module("./module.so"))+indices(load_module("./module.so")()));' || (echo "Module empty, configure problem?" && exit 1)
+	cd ${WRKSRC}/${PIKE_MODULE_SRC} && ${PIKE_EXECUTABLE} -e 'return !sizeof(indices(load_module("./module.so"))+indices(load_module("./module.so")()));' || (${ECHO} "Module empty, configure problem?" && exit 1)
 .endif
 .if(${MAKE_MODREF} != "no")
 	cd ${WRKSRC}/${PIKE_MODULE_SRC} && ${PIKE_EXECUTABLE} -x module SYSTEM_DOC_PATH=${SYSTEM_DOC_PATH} module_modref
@@ -96,7 +96,7 @@ remove-main-package-files:
 	cd ${DESTDIR}/${PREFIX} && \
 	  if [ "x${PIKE_MODULE_OVERLAPPING_FILES}" != "x" ] ; then \
 	    for remove in ${PIKE_MODULE_OVERLAPPING_FILES} ; do \
-	      echo removing $${remove} ; \
+	      ${ECHO} removing $${remove} ; \
 	      rm $${remove} ; \
 	    done ; \
 	  fi
diff --git a/pike8.0/configure b/pike8.0/configure
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/pike8.0/distinfo b/pike8.0/distinfo
index 2cd1279490..277f6bfd99 100644
--- a/pike8.0/distinfo
+++ b/pike8.0/distinfo
@@ -1,6 +1,7 @@
 $NetBSD$
+
 SHA1 (Pike-v8.0.702.tar.gz) = d13793b05d659acd79c999252fcb5c454eaa4a4b
 RMD160 (Pike-v8.0.702.tar.gz) = 923eac1152e0c839aa17bf051c91c5c82b4cea56
 SHA512 (Pike-v8.0.702.tar.gz) = 67ee5a6af9e7ab1031c63647d0f351b6f9a29a736f6b049beada577997bab199d542d39c16c328a81ea52821555f8db9bd227caad55fed9c3613ba6718124e09
 Size (Pike-v8.0.702.tar.gz) = 18850526 bytes
-SHA1 (patch-src_Makefile.in) = 68b8bab71102816fd328a5033b828e907b316d01
+SHA1 (patch-src_Makefile.in) = 53d3d94cb51dcb7d95db9d4c746a5d56a6979eae
diff --git a/pike8.0/patches/patch-src_Makefile.in b/pike8.0/patches/patch-src_Makefile.in
index 36ff8900cf..61f9fa3e7a 100644
--- a/pike8.0/patches/patch-src_Makefile.in
+++ b/pike8.0/patches/patch-src_Makefile.in
@@ -1,5 +1,5 @@
 $NetBSD$
-
+NetBSD8 enables memprotect protections. Fixed in upstream source.
 --- src/Makefile.in.orig	2015-12-31 19:50:31.000000000 +0000
 +++ src/Makefile.in
 @@ -66,6 +66,8 @@ INSTALLARGS = --new-style
diff --git a/pike8.0/version.mk b/pike8.0/version.mk
index 5a01754a85..0a3676fffd 100644
--- a/pike8.0/version.mk
+++ b/pike8.0/version.mk
@@ -1,3 +1,4 @@
+# $NetBSD$
 PIKE_VERSION=   8.0.702
 PIKEVERSUFFIX=	8.0
 PIKE_RELEASE_TYPE = all


Home | Main Index | Thread Index | Old Index