pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/gnuchess Disable NLS for consistent PLIST handli...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4f835e7ec034
branches:  trunk
changeset: 349424:4f835e7ec034
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Jul 07 14:49:25 2016 +0000

description:
Disable NLS for consistent PLIST handling.  Remove bogus and obsolete CFLAGS
settings.  Clean up variable assignments.  No change to existing packages.

diffstat:

 games/gnuchess/Makefile |  22 +++++++---------------
 1 files changed, 7 insertions(+), 15 deletions(-)

diffs (47 lines):

diff -r d9a03db8e678 -r 4f835e7ec034 games/gnuchess/Makefile
--- a/games/gnuchess/Makefile   Thu Jul 07 14:36:34 2016 +0000
+++ b/games/gnuchess/Makefile   Thu Jul 07 14:49:25 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2016/05/03 01:46:15 mef Exp $
+# $NetBSD: Makefile,v 1.41 2016/07/07 14:49:25 jperkin Exp $
 
 DISTNAME=      gnuchess-6.2.2
 CATEGORIES=    games
@@ -9,22 +9,16 @@
 COMMENT=       GNU chess engine
 LICENSE=       gnu-gpl-v3
 
-GNU_CONFIGURE= yes
+USE_LANGUAGES= c c++
 USE_TOOLS+=    flex gmake
-USE_LANGUAGES= c c++
 
-#BOOKDIR=      ${PREFIX}/lib/gnuchess
-DOCDIR=                ${PREFIX}/share/doc/gnuchess
-
+GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --infodir=${PREFIX}/${PKGINFODIR}
-INFO_FILES=    yes
+CONFIGURE_ARGS+=       --disable-nls
 
-# powerpc has problems with anything >= -O2 here
-.if (${MACHINE_ARCH} == "powerpc")
-CONFIGURE_ENV+=                CFLAGS="-O -Winline -Wmissing-prototypes -funroll-loops"
-.else
-CONFIGURE_ENV+=                CFLAGS="-O3 -Winline -Wmissing-prototypes -funroll-loops -fomit-frame-pointer"
-.endif
+DOCDIR=                        ${PREFIX}/share/doc/gnuchess
+INFO_FILES=            yes
+INSTALLATION_DIRS=     ${DOCDIR}
 
 SUBST_CLASSES+=                paths
 SUBST_MESSAGE.paths=   Fixing hardcoded paths.
@@ -32,8 +26,6 @@
 SUBST_FILES.paths=     src/book.h
 SUBST_SED.paths=       -e 's,/usr/lib/games/,${PREFIX}/lib/,g'
 
-INSTALLATION_DIRS=     ${DOCDIR}
-
 post-install:
        ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/README ${DESTDIR}${DOCDIR}
 



Home | Main Index | Thread Index | Old Index