ports/76171: [maintainer-update] fix x11/login.app build error

Tobias Roth ports at fsck.ch
Wed Jan 12 18:40:32 UTC 2005


>Number:         76171
>Category:       ports
>Synopsis:       [maintainer-update] fix x11/login.app build error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 12 18:40:31 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Tobias Roth
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD localhost 5.3-STABLE FreeBSD 5.3-STABLE #8: Tue Dec 14 07:43:17 CET 2004     roth at localhost:/opt/obj/usr/src/sys/FOOBAR  i386

>Description:
		Does two unrelated things:
		1) add linker flag to fix build [untested]
		2) fix startup script [tested]

		Whether 1) will work I have no idea. On my own machine,
		everything works all right, and the errorlogs are
		confusing. 2) is needed.

>How-To-Repeat:
>Fix:
diff -ruN login.app.orig/Makefile login.app/Makefile
--- login.app.orig/Makefile	Wed Jan 12 19:16:38 2005
+++ login.app/Makefile	Wed Jan 12 19:24:33 2005
@@ -7,6 +7,7 @@
 
 PORTNAME=	login.app
 PORTVERSION=	2.1.1
+PORTREVISION=	1
 CATEGORIES=	x11 windowmaker
 MASTER_SITES=	http://largo.windowmaker.org/files/Login.app/ \
 		http://depot.fsck.ch/mirror/distfiles/
@@ -41,6 +42,11 @@
 		${WRKSRC}/Themes/GNUstep/Makefile.in \
 		${WRKSRC}/Themes/Drone/Makefile.in \
 		${WRKSRC}/Themes/Drone/Makefile.am \
+		${WRKSRC}/src/Makefile.in \
+		${WRKSRC}/src/Makefile.am
+	@${REINPLACE_CMD} -e \
+		's|-lWUtil|-lWUtil -lintl|' \
+		${WRKSRC}/configure \
 		${WRKSRC}/src/Makefile.in \
 		${WRKSRC}/src/Makefile.am
 
diff -ruN login.app.orig/files/loginapp.sh login.app/files/loginapp.sh
--- login.app.orig/files/loginapp.sh	Wed Jan 12 19:16:38 2005
+++ login.app/files/loginapp.sh	Wed Jan 12 19:18:55 2005
@@ -19,6 +19,7 @@
 name="login_app"
 rcvar=`set_rcvar`
 command="%%X11BASE%%/GNUstep/Apps/Login.app/Login"
+command_args="&"
 
 load_rc_config $name
 run_rc_command "$1"
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list