pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/xjig Fix build under Linux: instead of hardcodin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cfa8a64d5ede
branches:  trunk
changeset: 495590:cfa8a64d5ede
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Tue Jun 14 18:07:47 2005 +0000

description:
Fix build under Linux: instead of hardcoding the manpage name as a build
target (man.0), use 'all' which works (at least) under NetBSD and Linux.
(The problem is that the manpage suffix changes across systems.)

While here, remove a directory emptied during deinstallation.
Bump PKGREVISION to 2 due to this.

This change together with recent rillig@'s fixes close PR pkg/29493.

diffstat:

 games/xjig/Makefile |  8 ++++----
 games/xjig/PLIST    |  3 ++-
 2 files changed, 6 insertions(+), 5 deletions(-)

diffs (36 lines):

diff -r a4ea1428eea5 -r cfa8a64d5ede games/xjig/Makefile
--- a/games/xjig/Makefile       Tue Jun 14 18:02:12 2005 +0000
+++ b/games/xjig/Makefile       Tue Jun 14 18:07:47 2005 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.15 2004/12/03 15:14:58 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2005/06/14 18:07:47 jmmv Exp $
 #
 
 DISTNAME=              xjig-2.4
-PKGREVISION=           1
+PKGREVISION=           2
 CATEGORIES=            games x11
 MASTER_SITES=          ${MASTER_SITE_XCONTRIB:=games/}
 EXTRACT_SUFX=          .tgz
@@ -11,9 +11,9 @@
 COMMENT=               Jigsaw puzzle
 
 USE_IMAKE=             yes
-BUILD_TARGET=          xjig xjig.0
+USE_LANGUAGES=         c c++
 
-USE_LANGUAGES=         c c++
+BUILD_TARGET=          xjig all
 
 post-install:
        ${INSTALL_DATA_DIR} ${X11PREFIX}/lib/xjig
diff -r a4ea1428eea5 -r cfa8a64d5ede games/xjig/PLIST
--- a/games/xjig/PLIST  Tue Jun 14 18:02:12 2005 +0000
+++ b/games/xjig/PLIST  Tue Jun 14 18:07:47 2005 +0000
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.2 2003/02/26 04:07:49 jschauma Exp $
+@comment $NetBSD: PLIST,v 1.3 2005/06/14 18:07:47 jmmv Exp $
 bin/xjig
 ${IMAKE_MAN_DIR}/xjig.${IMAKE_MANNEWSUFFIX}
 lib/xjig/tina.gif
+@dirrm lib/xjig



Home | Main Index | Thread Index | Old Index