1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/games/yadex/files/patch-GNUmakefile
Alexey Dokuchaev d170c24463 - Update to 1.7.0
- Unbreak on 64-bit archs [1]
- Install documentation
- Throw in a bunch of useful patches
- Utilize OPTIONS
- Augment mirror list

Approved by:	maintainer timeout
PR:		ports/77810 [1]
Submitted by:	anholt [1]
Tested on:	panther, beast, sledge [1]
2005-03-21 13:19:43 +00:00

46 lines
1.4 KiB
Plaintext

--- GNUmakefile.orig Sun Dec 28 23:23:56 2003
+++ GNUmakefile Mon Mar 21 16:31:11 2005
@@ -67,8 +67,8 @@
X11LIBDIR = /usr/openwin/lib
X11INCLUDEDIR = /usr/openwin/include
else
- X11LIBDIR = /usr/X11R6/lib
- X11INCLUDEDIR = /usr/X11R6/include
+ X11LIBDIR = $(X11BASE)/lib
+ X11INCLUDEDIR = $(X11BASE)/include
endif
endif
@@ -79,13 +79,13 @@
#CXX =
# Options used when compiling Atclib.
-CFLAGS = -O
+#CFLAGS = -O
# Options used when compiling and linking Yadex.
# ld is invoked through the C++ compiler so
# LDFLAGS should not contain options that mean
# something to the C++ compiler.
-CXXFLAGS = -O
+#CXXFLAGS = -O
#CXXFLAGS += -DWHITE_BACKGROUND
#LDFLAGS =
@@ -395,12 +395,10 @@
@scripts/mkinstalldirs $(MANDIR)
@scripts/mkinstalldirs $(MANDIR)/man6
@scripts/mkinstalldirs $(SHAREDIR)
- $(OBJDIR)/install -m 755 $(OBJDIR)/yadex $(BINDIR)/yadex-$(VERSION)
rm -f $(BINDIR)/yadex
- ln -s yadex-$(VERSION) $(BINDIR)/yadex
- $(OBJDIR)/install -m 644 doc/yadex.6 $(MANDIR)/man6/yadex-$(VERSION).6
- rm -f $(MANDIR)/man6/yadex.6
- ln -s yadex-$(VERSION).6 $(MANDIR)/man6/yadex.6
+ $(OBJDIR)/install -m 755 $(OBJDIR)/yadex $(BINDIR)/yadex
+ rm -f $(MANDIR)/man6/yadex.6*
+ $(OBJDIR)/install -m 644 doc/yadex.6 $(MANDIR)/man6/yadex.6
$(OBJDIR)/install -m 644 -d $(SHAREDIR) $(YGD)
$(OBJDIR)/install -m 644 -d $(ETCDIR) yadex.cfg
@echo "---------------------------------------------------------------"