Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Sep 2000 13:34:25 -0700 (PDT)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/21369: Update port: graphics/flashplayer
Message-ID:  <20000918203425.A4DD637B422@hub.freebsd.org>

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

>Number:         21369
>Category:       ports
>Synopsis:       Update port: graphics/flashplayer
>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:   Mon Sep 18 13:40:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.1-RELEASE i386
>Organization:
>Environment:
>Description:
- Support X11BASE properly

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/graphics/flashplayer/Makefile graphics/flashplayer/Makefile
--- /usr/ports/graphics/flashplayer/Makefile	Tue Apr 25 06:38:13 2000
+++ graphics/flashplayer/Makefile	Thu Aug 10 21:54:57 2000
@@ -13,17 +13,15 @@
 DISTNAME=	flash-${PORTVERSION}
 EXTRACT_SUFX=	.tgz
 
-PATCH_SITES=   http://leed.t.u-tokyo.ac.jp/~yamagata/flash/
-PATCHFILES=    flash-0.4.3-fbsd-19990512.patch
+PATCH_SITES=	http://leed.t.u-tokyo.ac.jp/~yamagata/flash/
+PATCHFILES=	flash-0.4.3-fbsd-19990512.patch
 
 MAINTAINER=	knu@FreeBSD.org
 
 USE_X_PREFIX=	yes
-
-do-build:
-	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} swfplayer
+ALL_TARGET=	swfplayer
 
 do-install:
-	cd ${WRKSRC} && ${INSTALL_PROGRAM} swfplayer ${X11BASE}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/swfplayer ${PREFIX}/bin
 
 .include <bsd.port.mk>
diff -urN /usr/ports/graphics/flashplayer/patches/patch-ag graphics/flashplayer/patches/patch-ag
--- /usr/ports/graphics/flashplayer/patches/patch-ag	Fri Apr 21 19:06:04 2000
+++ graphics/flashplayer/patches/patch-ag	Thu Aug 10 21:44:45 2000
@@ -1,13 +1,22 @@
---- Makefile.orig	Fri Apr 21 11:47:57 2000
-+++ Makefile	Fri Apr 21 11:59:25 2000
+--- Makefile.orig	Thu Aug 10 21:43:00 2000
++++ Makefile	Thu Aug 10 21:43:58 2000
 @@ -1,8 +1,6 @@
 -CC=cc
 -CXX=/usr/bin/c++
 -CFLAGS=-I/usr/X11R6/include -I./Lib -I./Plugin -fpic -fno-rtti -DXP_UNIX
 -CFLAGS+=-O2
-+CFLAGS+=-I/usr/X11R6/include -I./Lib -I./Plugin -fpic -fno-rtti -DXP_UNIX
++CFLAGS+=-I${X11BASE}/include -I./Lib -I./Plugin -fpic -fno-rtti -DXP_UNIX
  CFLAGS+=-DCHECK_TEXT_PLAIN
 +CXXFLAGS+=${CFLAGS}
  
  OBJS = adpcm.o bitmap.o button.o character.o cxform.o \
  	displaylist.o flash.o font.o graphic.o matrix.o \
+@@ -25,7 +23,7 @@
+ all: swfplayer libswf.so
+ 
+ swfplayer: $(PLAYEROBJS) $(OBJS)
+-	$(CXX) -o $@ main.o $(OBJS) -L/usr/X11R6/lib -lXext -lX11
++	$(CXX) -o $@ main.o $(OBJS) -L${X11BASE}/lib -lXext -lX11
+ 
+ libswf.so: $(PLUGINOBJS) $(OBJS)
+ 	$(CC) -shared -Wl,-x -o $@ `lorder npunix.o plugin.o $(OBJS)| /usr/bin/tsort -q`


>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?20000918203425.A4DD637B422>