From owner-freebsd-ports Sun May 3 12:06:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA08162 for freebsd-ports-outgoing; Sun, 3 May 1998 12:06:48 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from localhost.my.domain (ppp1697.on.bellglobal.com [206.172.249.161]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA08148 for ; Sun, 3 May 1998 12:06:45 -0700 (PDT) (envelope-from ac199@hwcn.org) Received: from localhost (tim@localhost) by localhost.my.domain (8.8.8/8.8.8) with SMTP id PAA03993; Sun, 3 May 1998 15:04:53 -0400 (EDT) (envelope-from ac199@hwcn.org) X-Authentication-Warning: localhost.my.domain: tim owned process doing -bs Date: Sun, 3 May 1998 15:04:53 -0400 (EDT) From: Tim Vanderhoek X-Sender: tim@localhost Reply-To: ac199@hwcn.org To: Brian Handy cc: freebsd-ports@FreeBSD.ORG Subject: Re: Xgalaga-2.0 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, 3 May 1998, Brian Handy wrote: > However, it's using autoconf, and ... I can't get it to DTRT when > installing into the various directories. I'm so pissed at configure right > now I could just spit, so if somebody would like to be able to play the You need to patch the Makefile.in file, not configure itself. It shouldn't actually be that hard, and, if you do it, make sure you submit the patches to the xgalaga author (if you want, I can review them and yell at the author to incorporate them, but I can't promise to do it in a timely fashion). >From looking at the Makefile.in and Makefile only, it looks like what needs to be done is, and I could be totally wrong here, since I'm not even going to try compiling it... It's been a while since I've played with autoconf, so this undoubtedly somewhat broken, but... ;) libsprite/Makefile.in should, I suspect, be changed in the same fashion as Makefile.in. 13,15c13,14 < bindir = $(exec_prefix) < libdir = $(prefix)/lib < infodir = $(prefix)/info --- > bindir = @bindir@ > datadir = @datadir@ 23c22,26 < SOUNDDEFS = -DSOUNDSERVER=\"@prefix@/@SOUNDSERVER@\" --- > # Depending on the purpose of this, it might need to be changed as follows??? > SOUNDDEFS = -DSOUNDSERVER=\"@exec_prefix@/@SOUNDSERVER@\" > # NOTE that you may also need to patch SOUNDSERVER to look for its sound > # files in something other than the current directory. Shouldn't be too > # hard. 30c33,34 < INSTALL = @INSTALL@ --- > INSTALL_PROGRAM = @INSTALL_PROGRAM@ > INSTALL_DATA = @INSTALL_DATA@ 47,48c51,53 < $(INSTALL) $(TARGET) $(bindir)/$(TARGET) < $(INSTALL) $(SOUNDSRV) $(prefix)/$(SOUNDSRV) --- > $(INSTALL_PROGRAM) $(TARGET) $(bindir)/$(TARGET) > $(INSTALL_PROGRAM) $(SOUNDSRV) $(exec_prefix)/$(SOUNDSRV) > # WTF is "mkinstalldirs"? 51,52c56,57 < for i in levels/*.xgl; do $(INSTALL) $$i $(prefix)/$$i ; done < for i in sounds/*.raw; do $(INSTALL) $$i $(prefix)/$$i ; done --- > for i in levels/*.xgl; do $(INSTALL_DATA) $$i $(datadir)/$$i ; done > for i in sounds/*.raw; do $(INSTALL_DATA) $$i $(datadir)/$$i ; done 78c83 < makedepend $(CFLAGS) $(SRCS) \ No newline at end of file --- > makedepend $(CFLAGS) $(SRCS) -- This .sig is not innovative, witty, or profund. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message