source: trunk/dports/archivers/lz4/files/patch-Makefile.diff @ 115555

Last change on this file since 115555 was 115555, checked in by mfeiri@…, 6 years ago

lz4: new port

File size: 768 bytes
  • Makefile

     
    3131# ################################################################
    3232
    3333RELEASE=r110
    34 DESTDIR=
    3534PREFIX=${DESTDIR}/usr
    3635BINDIR=$(PREFIX)/bin
    3736MANDIR=$(PREFIX)/share/man/man1
    3837DISTRIBNAME=lz4-$(RELEASE).tar.gz
    39 CC=gcc
    4038CFLAGS=-I. -std=c99 -Wall -W -Wundef -DLZ4_VERSION=\"$(RELEASE)\"
    4139
    4240# Define *.exe as extension for Windows systems
     
    9088        @echo Cleaning completed
    9189
    9290
    93 ifeq ($(shell uname),Linux)
    94 
    9591install: lz4 lz4c
    9692        @install -d -m 755 $(BINDIR)/ $(MANDIR)/
    9793        @install -m 755 lz4 $(BINDIR)/lz4
     
    116112        @tar -czf $(DISTRIBNAME) lz4-$(RELEASE)/
    117113        @rm -rf lz4-$(RELEASE)
    118114        @echo Distribution $(DISTRIBNAME) built
    119 
    120 endif
Note: See TracBrowser for help on using the repository browser.