Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Oct 2002 17:14:32 -0700 (PDT)
From:      <adam@vectors.cx>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/43642: [patch] unbreak sysutils/gfslicer, add gnomeng structure
Message-ID:  <200210040014.g940EWxm006411@vectors.cx>

next in thread | raw e-mail | index | archive | help
	Note: There was a bad value `update-request' for the field `>Class:'.
	It was set to the default value of `sw-bug'.


>Number:         43642
>Category:       ports
>Synopsis:       [patch] unbreak sysutils/gfslicer, add gnomeng structure
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 03 17:20:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        FreeBSD 4.7-RC i386
>Organization:
>Environment:
System: FreeBSD smacky.vectors.cx 4.7-RC FreeBSD 4.7-RC #27: Wed Oct 2 13:15:44 PDT 2002 root@smacky.vectors.cx:/usr/src/sys/compile/smacky i386


	
>Description:
	as shown in http://bento.freebsd.org/errorlogs/4-latest/gfslicer-1.5.4.log,
	sysutils/gfslicer isn't building. and it's marked BROKEN. this fixes the build,
	adds proper automake-isms, and adds in the gnomeng structure.

	
>How-To-Repeat:
	
>Fix:

	

	included are a patch for sysutils/gfslicer/Makefile and a new patch for
	the files/ directory, sysutils/gfslicer/files/patch-src::Makefile.am

--- patch-gfslicer-makefile begins here ---
--- sysutils/gfslicer/Makefile.orig	Fri Sep 20 14:05:28 2002
+++ sysutils/gfslicer/Makefile	Thu Oct  3 17:06:03 2002
@@ -13,33 +13,22 @@
 
 MAINTAINER=	ports@FreeBSD.org
 
-BROKEN=		"Does not build"
-
-BUILD_DEPENDS=	${LOCALBASE}/share/automake14/automake/install-sh:${PORTSDIR}/devel/automake14
-
 USE_REINPLACE=	yes
 USE_X_PREFIX=	yes
-USE_GNOME=	yes
+USE_GNOMENG=	yes
+USE_GNOME=	gnomehack gnomeprefix gtk12
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
+USE_AUTOMAKE=	yes
 
 MAN1=		gfslicer.1
 MANCOMPRESSED=	yes
 
 post-extract:
-.for file in install-sh missing mkinstalldirs
+.for file in install-sh missing mkinstalldirs INSTALL COPYING
 	@${LN} -sf ${LOCALBASE}/share/automake14/automake/${file} ${WRKSRC}
 .endfor
 	@${RM} -f ${WRKSRC}/config.cache
-
-post-patch:
-	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
-		 s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
-		 s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
-		 s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure
-	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
-		's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \
-		 s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g'
 
 post-install:
 	${INSTALL_MAN} ${WRKSRC}/${MAN1}.gz ${MANPREFIX}/man/man1
--- patch-gfslicer-makefile ends here ---

--- patch-src::Makefile.am begins here ---
--- src/Makefile.am.orig	Thu Oct  3 17:04:10 2002
+++ src/Makefile.am	Thu Oct  3 17:04:23 2002
@@ -13,7 +13,8 @@
 	support.c support.h \
 	interface.c interface.h \
 	callbacks.c callbacks.h \
-	gfs_func.c gfs_func.h
+	gfs_func.c gfs_func.h \
+	gfs_dnd.c gfs_dnd.h
 
 gfslicer_LDADD = $(GNOME_LIBDIR) $(GNOMEUI_LIBS) $(INTLLIBS)
 
--- patch-src::Makefile.am ends here ---


>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?200210040014.g940EWxm006411>