Subject: pkg/27559: x11/lablgtk INSTALL_PROGRAM->SCRIPT
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <pancake@phreaker.net>
List: pkgsrc-bugs
Date: 10/27/2004 15:10:07
>Number:         27559
>Category:       pkg
>Synopsis:       can't install x11/lablgtk
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 27 13:11:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        Linux 2.6.8.1
>Organization:
	
>Environment:
	
	
System: Linux bare 2.6.8.1 #6 Fri Oct 22 05:01:41 VET 2004 i686 GNU/Linux
Architecture: i686
Machine: i686
>Description:
	lablgtk tries to install a script as a binary program
	
>How-To-Repeat:
	just type make install at x11/lablgtk
	
>Fix:
Apply this patch to x11/lablgtk/patches/


--- patch-aa.orig	2004-10-27 03:04:20.000000000 -0400
+++ patch-aa	2004-10-27 03:05:45.000000000 -0400
@@ -23,9 +23,9 @@
 +	do \
 +	    ${BSD_INSTALL_DATA} $$F ${INSTALLDIR}; \
 +	done
-+	${BSD_INSTALL_PROGRAM} lablgtktop $(INSTALLDIR)
++	${BSD_INSTALL_SCRIPT} lablgtktop $(INSTALLDIR)
 +	${BSD_INSTALL_SCRIPT} varcc $(INSTALLDIR)
-+	if test -f lablgtktop_t; then ${BSD_INSTALL_PROGRAM} lablgtktop_t $(INSTALLDIR); fi
++	if test -f lablgtktop_t; then ${BSD_INSTALL_SCRIPT} lablgtktop_t $(INSTALLDIR); fi
  	if test -f lablgtk.cmxa; then $(MAKE) installopt; fi
 +	${BSD_INSTALL_DATA_DIR} $(DLLDIR)
  	if test -f dlllablgtk.so; then \
	
>Release-Note:
>Audit-Trail:
>Unformatted: