summaryrefslogtreecommitdiff
path: root/graphics/libflash/patches/patch-af
blob: a913d72e1c8952eb8a97917fddb7ff60f9ed85c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-af,v 1.3 2002/07/11 14:24:00 abs Exp $

--- Player/Makefile.orig	Wed Jun  7 19:19:50 2000
+++ Player/Makefile
@@ -1,7 +1,9 @@
-FLASH=../Lib
-CPPFLAGS=-I$(FLASH)
+FLASH=${LOCALBASE}/lib
+CPPFLAGS=-I${LOCALBASE}/include/flash -I${LOCALBASE}include -I${X11BASE}/include
 CFLAGS=-O3
-LIBS = $(FLASH)/libflash.a ../Zlib/libz.a ../Jpeg/libjpeg.a -L/usr/X11R6/lib -lX11 -lXext -lm
+LIBS = -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib -lflash\
+	-ljpeg -lz -lossaudio -Wl,-R${X11BASE}/lib -L${X11BASE}/lib \
+	-lX11 -lXext -lm
 CC=gcc
 LDFLAGS=