freebsd-ports/sysutils/slst/files/patch-Makefile
2013-11-16 12:33:15 +00:00

24 lines
481 B
Text

--- Makefile.orig 2003-12-12 03:31:50.000000000 +0800
+++ Makefile 2013-11-16 12:33:55.000000000 +0800
@@ -1,8 +1,8 @@
-CC=gcc
+#CC=gcc
-CXXFLAGS=-Wall -O2
-CFLAGS=-Wall -O2
-LDFLAGS=-lstdc++
+#CXXFLAGS=-Wall -O2
+#CFLAGS=-Wall -O2
+LDFLAGS+=-lstdc++
VERSION=0.2
OBJS=slst.o error.o utils.o intcnt.o array.o
@@ -14,7 +14,7 @@ slst: $(OBJS)
# strip slst
install: slst
- cp slst /usr/bin
+ ${INSTALL} -m 755 slst $(DESTDIR)$(PREFIX)/bin
clean:
rm -f $(OBJS) slst core