Skip site navigation (1)Skip section navigation (2)
Date:      4 Jul 2000 21:10:09 -0000
From:      "Mario Sergio Fujikawa Ferreira" <lioux@uol.com.br>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/19713: Update port lang/swi-pl to CFLAGS safeteness :)
Message-ID:  <20000704211009.16746.qmail@Fedaykin.here>

next in thread | raw e-mail | index | archive | help

>Number:         19713
>Category:       ports
>Synopsis:       Update port lang/swi-pl to CFLAGS safeteness :)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 05 05:40:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Mario Sergio Fujikawa Ferreira
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
>Environment:

FreeBSD Here.here 4.0-STABLE FreeBSD 4.0-STABLE #2: Fri Jun  9 13:22:10 EST 2000     lioux@Here.here:/usr/src/sys/compile/LIOUX  i386

>Description:

Update port so that it is CFLAGS safe. I just added the @CFLAGS@
argument to Makefile.in. The rest is taken care by configure.

The only caveat is that the default optimization is O2. I left
the default optimization shipped with the distfile. However, my home
made version runs fine with O3. If it is okay, I will submit a
follow-up with a clean optimization (safe). :) 

Files added/removed: none

>How-To-Repeat:

n/a

>Fix:

diff -ruN /usr/ports/lang/swi-pl/patches/patch-aa swi-pl/patches/patch-aa
--- /usr/ports/lang/swi-pl/patches/patch-aa	Tue Apr 20 07:51:23 1999
+++ swi-pl/patches/patch-aa	Tue Jul  4 17:39:54 2000
@@ -1,6 +1,15 @@
---- Makefile.in	1999/03/23 20:02:10	1.1
-+++ Makefile.in	1999/03/23 20:02:47
-@@ -287,7 +287,7 @@
+--- Makefile.in.orig	Thu Apr 27 04:51:00 2000
++++ Makefile.in	Tue Jul  4 17:32:39 2000
+@@ -66,7 +66,7 @@
+ CWFLAGS=@CWFLAGS@
+ CIFLAGS=@CIFLAGS@
+ CMFLAGS=@CMFLAGS@
+-CFLAGS=	$(CWFLAGS) $(COFLAGS) $(CIFLAGS) $(CMFLAGS)
++CFLAGS= @CFLAGS@	$(CWFLAGS) $(COFLAGS) $(CIFLAGS) $(CMFLAGS)
+ LDFLAGS=@LDFLAGS@
+ 
+ PLFOREIGN=@PLFOREIGN@
+@@ -314,7 +314,7 @@
  		$(INSTALL_DATA) pl.1 $(plmandir)/$(PL).$(mansec)
  		$(INSTALL_DATA) $(srcdir)/plrc.1 $(plmandir)/plrc.$(mansec)
  		$(INSTALL_DATA) $(srcdir)/plld.1 $(plmandir)/plld.$(mansec)
@@ -9,7 +18,7 @@
  		-if [ ! -d $(man_prefix) ]; then $(MKDIR) $(man_prefix); fi
  		-if [ ! -d $(mandir)  ];    then $(MKDIR) $(mandir);     fi
  		-$(INSTALL_DATA) $(plmandir)/$(PL).$(mansec) $(mandir)
-@@ -295,10 +295,11 @@
+@@ -322,10 +322,11 @@
  		-$(INSTALL_DATA) $(plmandir)/plld.$(mansec) $(mandir)
  
  install_rlman:

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000704211009.16746.qmail>