pkgsrc-WIP-changes archive

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

honk: adjust comment.



Module Name:	pkgsrc-wip
Committed By:	nikita <nikita%NetBSD.org@localhost>
Pushed By:	nikita
Date:		Tue Nov 22 09:16:53 2022 +0100
Changeset:	896a478c746668a66eea2cbec7ae2c8541dc2e77

Modified Files:
	honk/Makefile

Log Message:
honk: adjust comment.

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

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

diffstat:
 honk/Makefile | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

diffs:
diff --git a/honk/Makefile b/honk/Makefile
index 65a17c8b4e..403de6b7da 100644
--- a/honk/Makefile
+++ b/honk/Makefile
@@ -13,7 +13,6 @@ USE_TOOLS+=	pax
 
 DEPENDS+=	sqlite3-[0-9]*:../../databases/sqlite3
 
-.include "../../mk/bsd.prefs.mk"
 
 EGDIR=		${PREFIX}/share/examples/${PKGBASE}
 DOCDIR=		${PREFIX}/share/doc/${PKGBASE}
@@ -29,6 +28,8 @@ SUBST_FILES.readme=	README.pkgsrc
 SUBST_VARS.readme=	PREFIX
 SUBST_VARS.readme+=	HONK_DATA
 
+.include "../../mk/bsd.prefs.mk"
+
 BUILD_DEFS+=	VARBASE
 HONK_USER?=	honk
 HONK_GROUP?=	honk
@@ -37,15 +38,7 @@ HONK_DATA?=	${VARBASE}/chroot/honk
 PKG_GROUPS+=	${HONK_GROUP}
 PKG_USERS+=	${HONK_USER}:${HONK_GROUP}
 
-MAKE_ENV+=	"CGO_ENABLED=1"
-
-# ERROR: bin/autobonker: is not a Position Independent Executable
-# ERROR: bin/gettoken: is not a Position Independent Executable
-# ERROR: bin/saytheday: is not a Position Independent Executable
-# ERROR: bin/sprayandpray: is not a Position Independent Executable
-# ERROR: bin/wonkawonk: is not a Position Independent Executable
-# ERROR: bin/youvegothonks: is not a Position Independent Executable
-# Same for RELRO.
+# since we include go-module.mk after bsd.pref.mk:
 .for bin in autobonker gettoken saytheday sprayandpray wonkawonk youvegothonks
 CHECK_PIE_SKIP+=	bin/${bin}
 CHECK_RELRO_SKIP+=	bin/${bin}


Home | Main Index | Thread Index | Old Index