1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/games/biorythm/files/patch-aa
Alexander Langer 217ed45bf9 - Update MASTER_SITES and WWW: line of pkg/DESCR
- Support CC/CFLAGS/PREFIX/LOCALBASE/X11BASE/etc properly

PR:		19757
Submitted by:	Ports Fury
2000-07-16 14:31:54 +00:00

41 lines
1.1 KiB
Plaintext

--- Makefile.orig Mon Jul 6 00:55:11 1998
+++ Makefile Tue Jul 4 21:47:21 2000
@@ -11,15 +11,15 @@
###########################################################################
# where are shhmsg and shhopt?
-INCDIR = -I/usr/local/include
-LIBDIR = -L/usr/local/lib
+INCDIR = -I${LOCALBASE}/include
+LIBDIR = -L${LOCALBASE}/lib
-INSTBASEDIR = /usr/local
-INSTBINDIR = $(INSTBASEDIR)/games
+INSTBASEDIR = ${PREFIX}
+INSTBINDIR = $(INSTBASEDIR)/bin
INSTMANDIR = $(INSTBASEDIR)/man/man6
-INSTALL = install -m 644
-INSTALLPROG = install -s -m 755
-MKDIRP = install -d -m 755
+INSTALL = ${BSD_INSTALL_DATA}
+INSTALLPROG = ${BSD_INSTALL_PROGRAM}
+MKDIRP = mkdir -p
DEFINES = -DVERSION=\"$(VERSION)\" \
"-DCOMPILED_DATE=\"$(COMPILED_DATE)\"" \
@@ -27,11 +27,11 @@
###########################################################################
-CC = gcc
+#CC = gcc
OPTIM = -O2
-CCOPT = -Wall $(OPTIM) $(INCDIR) $(DEFINES) $(CFLAGS)
-LDOPT = -s $(LIBDIR) $(LDFLAGS)
+CCOPT = $(INCDIR) $(DEFINES) $(CFLAGS)
+LDOPT = $(LIBDIR) $(LDFLAGS)
LIBS = -lshhmsg -lshhopt -lm
OBJS = $(PROG).o date.o