diff options
author | Volker Stolz <vs@FreeBSD.org> | 2005-04-19 08:32:08 +0000 |
---|---|---|
committer | Volker Stolz <vs@FreeBSD.org> | 2005-04-19 08:32:08 +0000 |
commit | 0034f94a89603a659bb3ed4a7fdb08603fceb498 (patch) | |
tree | 6544a071cdcc35f043ea2fdd0b14ec9e19aa1c4f /archivers/libarc | |
parent | - Fix BUILD_DEPENDS. (diff) |
Minimize Makefile-patch by using MAKE_ARGS
Notes
Notes:
svn path=/head/; revision=133641
Diffstat (limited to 'archivers/libarc')
-rw-r--r-- | archivers/libarc/Makefile | 2 | ||||
-rw-r--r-- | archivers/libarc/files/patch-aa | 16 |
2 files changed, 2 insertions, 16 deletions
diff --git a/archivers/libarc/Makefile b/archivers/libarc/Makefile index 6c08c3c0e819..e3a3435ec011 100644 --- a/archivers/libarc/Makefile +++ b/archivers/libarc/Makefile @@ -13,6 +13,8 @@ MASTER_SITES= http://www.onicos.com/staff/iz/release/ MAINTAINER= ports@FreeBSD.org COMMENT= Tiny C decompression library for several popular compression formats +MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I." PREFIX="${PREFIX}" LN="${LN} -sf" + INSTALLS_SHLIB= yes .include <bsd.port.mk> diff --git a/archivers/libarc/files/patch-aa b/archivers/libarc/files/patch-aa index dc7aec0d68b6..d7516457ec12 100644 --- a/archivers/libarc/files/patch-aa +++ b/archivers/libarc/files/patch-aa @@ -1,21 +1,5 @@ --- Makefile.orig Tue Jun 13 07:21:19 2000 +++ Makefile Tue Jun 20 17:44:24 2000 -@@ -1,11 +1,12 @@ --CC = gcc --CFLAGS = -O2 -I. -Wall -+CC ?= gcc -+CFLAGS += -I. -Wall - --PREFIX = /usr/local -+#PREFIX = /usr/local - AR = ar -cr - RANLIB = ranlib - INSTALL = install -c - RM = rm -f -+LN = ln -sf - - OBJS = inflate.o url.o url_file.o url_inflate.o net.o url_buff.o url_ftp.o \ - url_mem.o url_dir.o url_http.o url_pipe.o arc.o arc_lzh.o \ @@ -14,29 +15,42 @@ url_hqxdecode.o url_qsdecode.o url_news.o url_newsgroup.o url_cgiesc.o \ arc_mime.o |