On 07/17/11 01:29, Brad wrote:
On 16/07/11 8:25 PM, Nigel Taylor wrote:
On 07/17/11 00:49, Brad wrote:
On 16/07/11 7:08 PM, Nigel Taylor wrote:
Hi,

The version has been updated to 2011.07.11, and removed the tar ball
dpic-2011.04.19.tar.gz, causing the build the fail, only the current
version is available on the MASTER_SITE.

Patch is for the new version, this builds on amd64, limited testing
beyond that, I tried one example run just dpic with couple of options.
No regression tests are provided.


Alternative to the patch, is to replace the MASTER_SITE, with a site
that keeps the previous versions, if a copy can be found.

Regards

Nigel Taylor

There is an obvious mistake with the original patch patch-Makefile
as it was imported that causes the port to not actually heed CFLAGS
properly which should be fixed.

Brad,

Thanks, updated patch with what I hope you meant.

Regards

Nigel Taylor

No no, remove the -O at the end of the line.


Brad,

Thanks again, and tried again. I checked the three variables on the line where commented out in the makefile, so are blank, have to manually remove comment in the makefile, effectively the same in result this case.



Regards

Nigel Taylor
Index: Makefile
===================================================================
RCS file: /home/cvs/ports/graphics/dpic/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile    15 May 2011 18:49:41 -0000      1.1.1.1
+++ Makefile    13 Jul 2011 23:52:27 -0000
@@ -2,7 +2,7 @@
 
 COMMENT =              pic-like interpreter for producing line graphics
 
-DISTNAME =             dpic-2011.04.19
+DISTNAME =             dpic-2011.07.11
 
 CATEGORIES =           graphics
 
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/graphics/dpic/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo    15 May 2011 18:49:41 -0000      1.1.1.1
+++ distinfo    13 Jul 2011 23:52:38 -0000
@@ -1,5 +1,5 @@
-MD5 (dpic-2011.04.19.tar.gz) = Q8hD6BvP4F+XrBEhNEMQJQ==
-RMD160 (dpic-2011.04.19.tar.gz) = fn0L65axeguQwcKSkr3i2Yofzu8=
-SHA1 (dpic-2011.04.19.tar.gz) = /uXE4xoKmTvsG5atbZNOE3/rCSk=
-SHA256 (dpic-2011.04.19.tar.gz) = Qbh95a/smVuf+GAoz/XfJOf7ns0MhVs5FqpQpzo0kFQ=
-SIZE (dpic-2011.04.19.tar.gz) = 474042
+MD5 (dpic-2011.07.11.tar.gz) = garxYC3KoGU13S1nCZpA6A==
+RMD160 (dpic-2011.07.11.tar.gz) = EjCRENuDxHgdcsLG9I6L+MB/zC4=
+SHA1 (dpic-2011.07.11.tar.gz) = 0OcoWwP4Mcdxiwc4pBilIAn/XbE=
+SHA256 (dpic-2011.07.11.tar.gz) = qbyeoBSIWjN7QyKHOv09zg7P4da/Nyv0PYKhf4cWYXo=
+SIZE (dpic-2011.07.11.tar.gz) = 480030
Index: patches/patch-Makefile
===================================================================
RCS file: /home/cvs/ports/graphics/dpic/patches/patch-Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-Makefile
--- patches/patch-Makefile      15 May 2011 18:49:41 -0000      1.1.1.1
+++ patches/patch-Makefile      17 Jul 2011 00:37:08 -0000
@@ -1,15 +1,15 @@
 $OpenBSD: patch-Makefile,v 1.1.1.1 2011/05/15 18:49:41 landry Exp $
 Honour CC and CFLAGS
---- Makefile.orig      Sun May 15 20:37:54 2011
-+++ Makefile   Sun May 15 20:38:31 2011
+--- Makefile.orig      Tue Jul 12 01:15:50 2011
++++ Makefile   Sun Jul 17 01:13:22 2011
 @@ -44,8 +44,8 @@ DEST = ${DESTDIR}/${PREFIX}/bin
  # CC=xlc
  
  # other.  cc usually works too.
--CFLAGS = $(DEFINEA) $(DEFINEB) $(SAFEMODE) -O
+-CFLAGS += $(DEFINEA) $(DEFINEB) $(SAFEMODE) -O
 -CC=gcc
-+CFLAGS += $(DEFINEA) $(DEFINEB) $(SAFEMODE) -O
++CFLAGS += $(DEFINEA) $(DEFINEB) $(SAFEMODE)
 +CC?=gcc
+ # CC?=gcc
  
  OBJECTS = dpic.o dpic2.o p2clib.o
- 

Reply via email to