Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 2000 08:15:32 -0700 (PDT)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/21611: Update port: games/gleyes
Message-ID:  <20000928151532.05A2D37B423@hub.freebsd.org>

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

>Number:         21611
>Category:       ports
>Synopsis:       Update port: games/gleyes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 28 08:20:03 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.1.1-RELEASE i386
>Organization:
>Environment:
>Description:
- Support X11BASE/PREFIX properly

No response from maintainer.

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/games/gleyes/Makefile games/gleyes/Makefile
--- /usr/ports/games/gleyes/Makefile	Thu Aug  3 21:12:06 2000
+++ games/gleyes/Makefile	Wed Aug  9 03:54:34 2000
@@ -16,12 +16,9 @@
 
 MAINTAINER=	malte.lance@gmx.net
 
-MAN1=		gleyes.1
 USE_X_PREFIX=	yes
 USE_MESA=	yes
 
-do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/gleyes ${PREFIX}/bin
-	@${INSTALL_MAN} ${WRKSRC}/gleyes.1 ${PREFIX}/man/man1/gleyes.1
+MAN1=		gleyes.1
 
 .include <bsd.port.mk>
diff -urN /usr/ports/games/gleyes/patches/patch-aa games/gleyes/patches/patch-aa
--- /usr/ports/games/gleyes/patches/patch-aa	Mon Feb  7 09:38:31 2000
+++ games/gleyes/patches/patch-aa	Tue Sep 19 02:29:57 2000
@@ -1,17 +1,17 @@
---- Makefile.orig	Tue Oct 13 09:16:35 1998
-+++ Makefile	Sun Feb  6 16:36:08 2000
+--- Makefile.orig	Wed Oct 14 01:16:35 1998
++++ Makefile	Wed Aug  9 04:33:59 2000
 @@ -5,8 +5,8 @@
  #--------------------------------------------------------------------------
  
  # Where you want to have it installed
 -BINDIR	= /usr/X11/bin
 -MANDIR	= /usr/X11/man/man1
-+BINDIR	= /usr/X11R6/bin
-+MANDIR	= /usr/X11R6/man/man1
++BINDIR	= ${PREFIX}/bin
++MANDIR	= ${PREFIX}/man/man1
  
  # Use these for Mesa
  #GL	= -lglut -lMesaGLU -lMesaGL
-@@ -15,11 +15,14 @@
+@@ -15,11 +15,13 @@
  GL	= -lglut -lGLU -lGL
  
  # Use these for gcc on Linux (may work in other systems as well)
@@ -21,12 +21,22 @@
 +CC	?= gcc
 +CFLAGS	?= -pipe -O2 -fexpensive-optimizations -ffast-math -fomit-frame-pointer \
 +	  -fforce-mem -fforce-addr
-+CFLAGS	+= -Wall -Wno-implicit-int -I/usr/X11R6/include \
-+	  -I/usr/local/include
++CFLAGS	+= -I${X11BASE}/include
 +LD	= $(CC)
  LDFLAGS	= -o $@
 -LIBS	= -L/usr/X11/lib -L/usr/local/lib $(GL) -lX11 -lXext -lXmu -lXi -lm
-+LIBS	= -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/local/lib $(GL) -lX11 -lXext -lXmu -lXi -lm
++LIBS	= -Wl,-rpath,${X11BASE}/lib -L${X11BASE}/lib $(GL) -lX11 -lXext -lXmu -lXi -lm
  
  # Use these for cc on IRIX (submitted by Andrew Dalke <dalke@bioreason.com>)
  #CC	= cc
+@@ -57,8 +59,8 @@
+ 	rm -f *.o core
+ 
+ install: gleyes
+-	cp gleyes $(BINDIR)
+-	cp gleyes.1 $(MANDIR)
++	${BSD_INSTALL_PROGRAM} gleyes $(BINDIR)
++	${BSD_INSTALL_MAN} gleyes.1 $(MANDIR)
+ 
+ dist:
+ 	rm -Rf $(DIST) $(DIST).tar.gz


>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?20000928151532.05A2D37B423>