diff options
author | vs <vs@FreeBSD.org> | 2005-04-19 16:32:08 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2005-04-19 16:32:08 +0800 |
commit | 32f7b8761f79538afe7d0936d541c7ccf1291886 (patch) | |
tree | 4ffe4c172ecef3c786537c41177031b7c0d24039 /archivers | |
parent | 89b9654eb58918d6670b8227fcf4beee377cfccb (diff) | |
download | freebsd-ports-gnome-32f7b8761f79538afe7d0936d541c7ccf1291886.tar.gz freebsd-ports-gnome-32f7b8761f79538afe7d0936d541c7ccf1291886.tar.zst freebsd-ports-gnome-32f7b8761f79538afe7d0936d541c7ccf1291886.zip |
Minimize Makefile-patch by using MAKE_ARGS
Diffstat (limited to 'archivers')
-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 |