pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/realboy realboy: fix PIE builds



details:   https://anonhg.NetBSD.org/pkgsrc/rev/456197c15560
branches:  trunk
changeset: 769164:456197c15560
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Nov 09 09:59:27 2021 +0000

description:
realboy: fix PIE builds

diffstat:

 emulators/realboy/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r e518a00cbfcc -r 456197c15560 emulators/realboy/Makefile
--- a/emulators/realboy/Makefile        Tue Nov 09 09:54:48 2021 +0000
+++ b/emulators/realboy/Makefile        Tue Nov 09 09:59:27 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2019/11/03 19:24:33 rillig Exp $
+# $NetBSD: Makefile,v 1.8 2021/11/09 09:59:27 nia Exp $
 
 DISTNAME=      realboy-0.2.2
 PKGREVISION=   1
@@ -14,6 +14,12 @@
 GNU_CONFIGURE=         yes
 INSTALLATION_DIRS=     share/doc/realboy
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${PKGSRC_MKPIE} == "yes"
+CONFIGURE_ARGS+=       --disable-asm
+.endif
+
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/realboy
 



Home | Main Index | Thread Index | Old Index