pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/gnuchess



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Thu Jul  7 14:49:26 UTC 2016

Modified Files:
        pkgsrc/games/gnuchess: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 pkgsrc/games/gnuchess/Makefile

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

Modified files:

Index: pkgsrc/games/gnuchess/Makefile
diff -u pkgsrc/games/gnuchess/Makefile:1.40 pkgsrc/games/gnuchess/Makefile:1.41
--- pkgsrc/games/gnuchess/Makefile:1.40 Tue May  3 01:46:15 2016
+++ pkgsrc/games/gnuchess/Makefile      Thu Jul  7 14:49:25 2016
@@ -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 @@ HOMEPAGE=     http://www.gnu.org/software/ch
 COMMENT=       GNU chess engine
 LICENSE=       gnu-gpl-v3
 
-GNU_CONFIGURE= yes
-USE_TOOLS+=    flex gmake
 USE_LANGUAGES= c c++
+USE_TOOLS+=    flex gmake
 
-#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_STAGE.paths=    post-patch
 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