mirror of
https://git.freebsd.org/ports.git
synced 2025-06-15 17:50:31 -04:00
33 lines
939 B
Text
33 lines
939 B
Text
--- Makefile.orig Thu Jan 25 18:55:07 2007
|
|
+++ Makefile Thu Jan 25 18:54:58 2007
|
|
@@ -6,11 +6,6 @@
|
|
# warranties, including, without limitation, the implied warranties
|
|
# of merchant-ability and fitness for a particular purpose.
|
|
|
|
-CC=gcc
|
|
-#CFLAGS=-ggdb -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
|
|
-CFLAGS=-O2 -Wall -fomit-frame-pointer -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
|
|
-LDFLAGS=-s
|
|
-
|
|
# Uncomment for FreeBSD:
|
|
#CC=gcc
|
|
#CFLAGS=-O2 -Wall -fomit-frame-pointer
|
|
@@ -58,13 +53,11 @@
|
|
if [ -f tree.o ]; then rm *.o; fi
|
|
rm -f *~
|
|
|
|
-install:
|
|
- install -d $(BINDIR)
|
|
- install -d $(MANDIR)
|
|
- if [ -e $(TREE_DEST) ]; then \
|
|
- install -s $(TREE_DEST) $(BINDIR)/$(TREE_DEST); \
|
|
- fi
|
|
- install man/$(MAN) $(MANDIR)/$(MAN)
|
|
+install: $(TREE_DEST) $(MAN)
|
|
+ $(MKDIR) $(BINDIR)
|
|
+ $(MKDIR) $(MANDIR)
|
|
+ ${BSD_INSTALL_PROGRAM} $(TREE_DEST) $(BINDIR)
|
|
+ ${BSD_INSTALL_MAN} $(MAN) $(MANDIR)
|
|
|
|
distclean:
|
|
if [ -f tree.o ]; then rm *.o; fi
|