$OpenBSD: patch-src_fe-text_Makefile_in,v 1.3 2004/06/20 17:54:58 couderc Exp $
--- src/fe-text/Makefile.in.orig	2004-05-31 16:47:05.000000000 +0200
+++ src/fe-text/Makefile.in	2004-06-20 17:11:59.000000000 +0200
@@ -37,7 +37,7 @@ NORMAL_UNINSTALL = :
 PRE_UNINSTALL = :
 POST_UNINSTALL = :
 host_triplet = @host@
-bin_PROGRAMS = xchat-text$(EXEEXT)
+bin_PROGRAMS = $(PACKAGE)-text$(EXEEXT)
 subdir = src/fe-text
 DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
@@ -306,8 +306,8 @@ clean-binPROGRAMS:
 	  echo " rm -f $$p $$f"; \
 	  rm -f $$p $$f ; \
 	done
-xchat-text$(EXEEXT): $(xchat_text_OBJECTS) $(xchat_text_DEPENDENCIES) 
-	@rm -f xchat-text$(EXEEXT)
+$(PACKAGE)-text$(EXEEXT): $(xchat_text_OBJECTS) $(xchat_text_DEPENDENCIES) 
+	@rm -f $(PACKAGE)-text$(EXEEXT)
 	$(LINK) $(xchat_text_LDFLAGS) $(xchat_text_OBJECTS) $(xchat_text_LDADD) $(LIBS)
 
 mostlyclean-compile:
