Subject: pkg/24312: maelstrom-sdl install fails on non-NetBSD
To: None <gnats-bugs@gnats.netbsd.org>
From: None <nb-pr@gendalia.org>
List: netbsd-bugs
Date: 02/04/2004 01:34:01
>Number:         24312
>Category:       pkg
>Synopsis:       maelstrom won't install on non-NetBSD systems
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 04 07:35:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Tracy Di Marco White
>Release:        pkgsrc-current
>Organization:
>Environment:
Machine: i386
>Description:
maelstrom install fails because the patches to configure & configure.in
only change the paths for install if installing on NetBSD.
>How-To-Repeat:
make install in maelstrom-sdl on non-NetBSD.
>Fix:
Change patch-ac & patch-ad to be:

patch-ac:
===================
$NetBSD$

--- configure.in.orig	2001-07-20 10:12:49.000000000 -0500
+++ configure.in
@@ -105,7 +105,8 @@ case "$target" in
         GAME_INSTALLDIR="\$(prefix)/games/$PACKAGE"
         ;;
     *)
-        GAME_INSTALLDIR="\$(prefix)/games/$PACKAGE"
+        GAME_INSTALLDIR="\$(prefix)/share/$PACKAGE"
+        DOC_INSTALLDIR="\$(prefix)/share/doc/$PACKAGE"
         ;;
 esac
 AC_SUBST(GAME_INSTALLDIR)

patch-ad:
===================

$NetBSD$

--- configure.orig	2001-07-22 22:55:55.000000000 -0500
+++ configure
@@ -1668,7 +1668,8 @@ case "$target" in
         GAME_INSTALLDIR="\$(prefix)/games/$PACKAGE"
         ;;
     *)
-        GAME_INSTALLDIR="\$(prefix)/games/$PACKAGE"
+        GAME_INSTALLDIR="\$(prefix)/share/$PACKAGE"
+        DOC_INSTALLDIR="\$(prefix)/share/doc/$PACKAGE"
         ;;
 esac
 
>Release-Note:
>Audit-Trail:
>Unformatted:
 Linux Slackware system