1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/games/xgalaga/files/patch-aa
Jim Mock 878ad6d18b Fix package building errors.
PR:		13417
Submitted by:	Ade Lovett <ade@lovett.com>
1999-08-28 00:42:58 +00:00

22 lines
716 B
Plaintext

--- Makefile.in.orig Sun Apr 12 03:10:46 1998
+++ Makefile.in Sun Jun 20 18:59:18 1999
@@ -43,11 +43,14 @@
$(CC) $(LDFLAGS) -o $(SOUNDSRV) $(SOUNDOBJS) $(SOUNDLIBS)
install: all
- mkinstalldirs $(bindir)
+ ./mkinstalldirs $(bindir)
+ ./mkinstalldirs $(prefix)
$(INSTALL) $(TARGET) $(bindir)/$(TARGET)
- $(INSTALL) $(SOUNDSRV) $(prefix)/$(SOUNDSRV)
- mkinstalldirs $(prefix)/sounds
- mkinstalldirs $(prefix)/levels
+ if [ "X$(SOUNDSRV)" != "X" ]; then \
+ $(INSTALL) $(SOUNDSRV) $(prefix)/$(SOUNDSRV); \
+ fi
+ ./mkinstalldirs $(prefix)/sounds
+ ./mkinstalldirs $(prefix)/levels
for i in levels/*.xgl; do $(INSTALL) $$i $(prefix)/$$i ; done
for i in sounds/*.raw; do $(INSTALL) $$i $(prefix)/$$i ; done