Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Mar 2001 16:47:33 -0800 (PST)
From:      bsdx@looksharp.net
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/26087: fix upgrade of icewm port so it compiles
Message-ID:  <200103260047.f2Q0lXc76237@freefall.freebsd.org>

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

>Number:         26087
>Category:       ports
>Synopsis:       fix upgrade of icewm port so it compiles
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 25 16:50:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Adam McDougall
>Release:        4.2-STABLE
>Organization:
>Environment:
FreeBSD sapphire.looksharp.net 4.2-STABLE FreeBSD 4.2-STABLE #0: Sat Feb  3 12:40:32 EST 2001     root@holdenrh157-reg-171:/itg3/obj/itg2/src/sys/SAPPHIRE-STABLE-SMP  i386

>Description:
icewm 1.0.7 is broken, doesnt compile, bento reflects this
>How-To-Repeat:
cvsup ports
cd /usr/ports/x11-wm/icewm && make
>Fix:
Looks like it wasn't including /usr/local/include so it could find a header for gettext.  This patch fixes it, but I dont know if it is correct.  A working port for a popular window manager is more important than a broken one with a release coming up.
Thanks to the folks who helped me out with Makefile and ports syntax some. 
http://www.looksharp.net/~user1/icewm1.0.7-7-patch.diff
Pasted below for eyeballing, tabs probably blown.
diff -urN icewm/Makefile icewm.patched/Makefile
--- icewm/Makefile      Sat Mar 17 06:19:07 2001
+++ icewm.patched/Makefile      Sun Mar 25 18:09:38 2001
@@ -30,6 +30,8 @@
                --with-kdedatadir=${LOCALBASE}/share \
                --with-docdir=${PREFIX}/share/doc
 
+MAKE_ENV=      CPPFLAGS="-I${LOCALBASE}/include"
+
 .include <bsd.port.pre.mk>
 
 .if defined(HAVE_GNOME)
diff -urN icewm/files/patch-src_Makefile icewm.patched/files/patch-src_Makefile
--- icewm/files/patch-src_Makefile      Sat Mar 17 06:19:08 2001
+++ icewm.patched/files/patch-src_Makefile      Sun Mar 25 19:26:52 2001
@@ -1,15 +1,18 @@
---- src/Makefile.orig  Sat Mar 17 05:17:37 2001
-+++ src/Makefile       Sat Mar 17 19:09:15 2001
-@@ -14,9 +14,9 @@
+--- src/Makefile.unpatched     Sun Mar 25 19:16:54 2001
++++ src/Makefile       Sun Mar 25 19:20:37 2001
+@@ -14,10 +14,11 @@
        -DPACKAGE='"icewm"' \
        -DVERSION='"$(VERSION)"' \
        -DEXEEXT='"$(EXEEXT)"' \
 -      -DICEWMEXE='"icewm"EXEEXT' \
 -      -DICEHELPEXE='"icehelp"EXEEXT' \
 -      -DICEHELPIDX='"$(DOCDIR)/icewm-$(VERSION)/doc/icewm.html"' \
+-        $(SYS_CFLAGS) $(SYS_INCDIRS)
 +      -DICEWMEXE='"icewm$(EXEEXT)"' \
 +      -DICEHELPEXE='"icehelp$(EXEEXT)"' \
 +      -DICEHELPIDX='"$(DOCDIR)/icewm/icewm.html"' \
-         $(SYS_CFLAGS) $(SYS_INCDIRS)
++        $(SYS_CFLAGS) $(SYS_INCDIRS) \
++      $(CPPFLAGS)
  LFLAGS = $(SYS_LIBDIRS) 
  LIBS = $(SYS_LIBS)
+ 

>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?200103260047.f2Q0lXc76237>