From owner-freebsd-ports Fri Jan 22 15:10:04 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA28966 for freebsd-ports-outgoing; Fri, 22 Jan 1999 15:10:04 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA28918 for ; Fri, 22 Jan 1999 15:10:00 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id PAA17911; Fri, 22 Jan 1999 15:10:01 -0800 (PST) Date: Fri, 22 Jan 1999 15:10:01 -0800 (PST) Message-Id: <199901222310.PAA17911@freefall.freebsd.org> To: freebsd-ports@FreeBSD.ORG From: ONE-MO Subject: Re: ports/9616: New port: math/abs Reply-To: ONE-MO Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/9616; it has been noted by GNATS. From: ONE-MO To: freebsd-gnats-submit@freebsd.org, gmarco@giovannelli.it Cc: Subject: Re: ports/9616: New port: math/abs Date: Fri, 22 Jan 1999 14:59:22 -0800 *Potential commiters* I decided to play with this one, it compiled/installed with the following changes - for one reason or another the patches needed tabs for white space rather then spaces. portlint also passes without problems although make uninstall doesn't work. MO! diff -ruN abs.orig/Makefile abs/Makefile --- abs.orig/Makefile Fri Jan 22 14:48:38 1999 +++ abs/Makefile Fri Jan 22 13:49:13 1999 @@ -15,6 +15,6 @@ do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/abs ${PREFIX}/bin + @ ${INSTALL_PROGRAM} ${WRKSRC}/abs ${PREFIX}/bin .include diff -ruN abs.orig/patches/patch-aa abs/patches/patch-aa --- abs.orig/patches/patch-aa Fri Jan 22 14:48:38 1999 +++ abs/patches/patch-aa Fri Jan 22 14:25:44 1999 @@ -1,8 +1,8 @@ ---- Makefile.orig Fri Jan 22 00:04:47 1999 -+++ Makefile Fri Jan 22 00:11:01 1999 +--- Makefile.orig Fri Jan 22 00:04:47 1999 ++++ Makefile Fri Jan 22 00:11:01 1999 @@ -4,6 +4,10 @@ - MAKE = make + MAKE = make +CFLAGS = -I$(X11BASE)/include + @@ -10,14 +10,13 @@ + LIBS = -L /lib/X11 -L /usr/X11R6/lib -lXaw -lX11 -lm -lXt -lXmu -lXext - SRCS = \ + SRCS = \ @@ -105,7 +109,7 @@ - $(MAKE) all); \ - fi \ - done -- cc -o abs ./TextField-1.0/*.o $(OBJS) ./Xpm/libxpm.a $(LIBS) -+ $(CC) $(CFLAGS) -o abs ./TextField-1.0/*.o $(OBJS) ./Xpm/libxpm.a -$(LIBS) + $(MAKE) all); \ + fi \ + done +- cc -o abs ./TextField-1.0/*.o $(OBJS) ./Xpm/libxpm.a $(LIBS) ++ $(CC) $(CFLAGS) -o abs ./TextField-1.0/*.o $(OBJS) ./Xpm/libxpm.a $(LIBS) clean:: - rm -f *.o */*.o */*.a + rm -f *.o */*.o */*.a diff -ruN abs.orig/patches/patch-ab abs/patches/patch-ab --- abs.orig/patches/patch-ab Fri Jan 22 14:48:38 1999 +++ abs/patches/patch-ab Fri Jan 22 14:29:45 1999 @@ -3,9 +3,9 @@ @@ -16,7 +16,7 @@ ################################# ### C Compiler - CC = cc --CFLAGS = -O -+CFLAGS += -O -I$(X11BASE)/include + CC = cc +-CFLAGS = -O ++CFLAGS += -O -I$(X11BASE)/include ### C++ Compiler - CCC = xlC + CCC = xlC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message