From 0cf45a5757368b7a75836e305575154ad946c051 Mon Sep 17 00:00:00 2001 From: brad Date: Thu, 9 Mar 2000 09:48:09 +0000 Subject: [PATCH] - make use of MAKE_FLAGS - add NO_CONFIGURE - Fake --- archivers/ha/Makefile | 27 ++++++++++++++++++--------- archivers/ha/patches/patch-ae | 14 -------------- 2 files changed, 18 insertions(+), 23 deletions(-) delete mode 100644 archivers/ha/patches/patch-ae diff --git a/archivers/ha/Makefile b/archivers/ha/Makefile index 17cb74a8c29..4860195b171 100644 --- a/archivers/ha/Makefile +++ b/archivers/ha/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.9 2000/02/22 17:08:33 espie Exp $ +# $OpenBSD: Makefile,v 1.10 2000/03/09 09:48:09 brad Exp $ DISTNAME= ha0999 PKGNAME= ha-0.999b @@ -6,20 +6,29 @@ CATEGORIES= archivers MASTER_SITES= ftp://ftp.kiarchive.ru/pub/unix/arcers/ EXTRACT_SUFX= .tgz +NEED_VERSION= 1.213 + MAINTAINER= angelos@openbsd.org LICENSE_TYPE= GPL -PERMIT_PACKAGE_CDROM= YES -PERMIT_PACKAGE_FTP= YES -PERMIT_DISTFILES_CDROM= YES -PERMIT_DISTFILES_FTP= YES +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes -USE_GMAKE= yes +FAKE= Yes + +USE_GMAKE= Yes +NO_CONFIGURE= Yes +MAKE_FILE= makefile.nix + +MAKE_FLAGS= CC="${CC}" \ + CFLAGS='${CFLAGS} -Wall -c -I../$$(MCH) -I../include' \ + LDFLAGS="" + +WRKDIST= ${WRKDIR} ALL_TARGET= ha -MAKE_FILE= makefile.nix -NEED_VERSION= 1.210 -WRKDIST= ${WRKDIR} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ha ${PREFIX}/bin diff --git a/archivers/ha/patches/patch-ae b/archivers/ha/patches/patch-ae deleted file mode 100644 index c6e1a429016..00000000000 --- a/archivers/ha/patches/patch-ae +++ /dev/null @@ -1,14 +0,0 @@ ---- makefile.nix.orig Wed Dec 15 17:19:59 1999 -+++ makefile.nix Wed Dec 15 17:20:14 1999 -@@ -21,9 +21,9 @@ - - MCH = nix - --CC = gcc -+#CC = gcc - CPP = $(CC) -E --CFLAGS = -Wall -O2 -c -I../$(MCH) -I../include -+CFLAGS += -Wall -c -I../$(MCH) -I../include - LDFLAGS = -O2 - - MDEFINES = "CC=$(CC)" "CPP=$(CPP)" "CFLAGS=$(CFLAGS)" "DEFS=$(DEFS)"