diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2013-11-16 12:33:15 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2013-11-16 12:33:15 +0000 |
commit | 8dbb955365737616fd99b70e405d0f6d0ce23118 (patch) | |
tree | bbba272a70ea8c51128f7d3c6bbfd630a6ba6682 /sysutils/slst | |
parent | 8e8505aa7261684a4eac0f9d0acfc81c8dc19e6b (diff) | |
download | ports-8dbb955365737616fd99b70e405d0f6d0ce23118.tar.gz ports-8dbb955365737616fd99b70e405d0f6d0ce23118.zip |
Notes
Diffstat (limited to 'sysutils/slst')
-rw-r--r-- | sysutils/slst/Makefile | 1 | ||||
-rw-r--r-- | sysutils/slst/files/patch-Makefile | 74 |
2 files changed, 24 insertions, 51 deletions
diff --git a/sysutils/slst/Makefile b/sysutils/slst/Makefile index 669a8b7d322c..4fa77071cdab 100644 --- a/sysutils/slst/Makefile +++ b/sysutils/slst/Makefile @@ -14,5 +14,4 @@ ALL_TARGET= all PLIST_FILES= bin/slst -NO_STAGE= yes .include <bsd.port.mk> diff --git a/sysutils/slst/files/patch-Makefile b/sysutils/slst/files/patch-Makefile index f31a5432fbaf..1f00f213bbba 100644 --- a/sysutils/slst/files/patch-Makefile +++ b/sysutils/slst/files/patch-Makefile @@ -1,50 +1,24 @@ -*** Makefile.orig Sun Jan 22 07:29:28 2006 ---- Makefile Sun Jan 22 07:38:16 2006 -*************** -*** 1,10 **** -! CC=gcc - -! CXXFLAGS=-Wall -O2 -! CFLAGS=-Wall -O2 -! LDFLAGS=-lstdc++ - VERSION=0.2 - - OBJS=slst.o error.o utils.o intcnt.o array.o - - all: slst ---- 1,10 ---- -! #CC=gcc - -! #CXXFLAGS=-Wall -O2 -! #CFLAGS=-Wall -O2 -! LDFLAGS+=-lstdc++ - VERSION=0.2 - - OBJS=slst.o error.o utils.o intcnt.o array.o - - all: slst -*************** -*** 12,22 **** - slst: $(OBJS) - $(CC) -Wall -W $(OBJS) $(LDFLAGS) -o slst - # strip slst - - install: slst -! cp slst /usr/bin - - clean: - rm -f $(OBJS) slst core - - package: clean ---- 12,22 ---- - slst: $(OBJS) - $(CC) -Wall -W $(OBJS) $(LDFLAGS) -o slst - # strip slst - - install: slst -! ${INSTALL} -m 755 slst ${PREFIX}/bin - - clean: - rm -f $(OBJS) slst core - - package: clean +--- 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 |