diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2006-01-23 21:03:30 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2006-01-23 21:03:30 +0000 |
commit | 29b876340ca834760604d6e34e217fe68696924b (patch) | |
tree | 78b85711e203c38398488e06c3d67428f2639d2d /sysutils/slst/files | |
parent | 2f95cf14bcbf895bbb01c906cc95d5d35957d8e4 (diff) | |
download | ports-29b876340ca834760604d6e34e217fe68696924b.tar.gz ports-29b876340ca834760604d6e34e217fe68696924b.zip |
Notes
Diffstat (limited to 'sysutils/slst/files')
-rw-r--r-- | sysutils/slst/files/patch-Makefile | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/sysutils/slst/files/patch-Makefile b/sysutils/slst/files/patch-Makefile new file mode 100644 index 000000000000..f31a5432fbaf --- /dev/null +++ b/sysutils/slst/files/patch-Makefile @@ -0,0 +1,50 @@ +*** 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 |