summaryrefslogtreecommitdiff
path: root/graphics/apla/patches
diff options
context:
space:
mode:
authorzuntum <zuntum@pkgsrc.org>2001-06-26 10:00:05 +0000
committerzuntum <zuntum@pkgsrc.org>2001-06-26 10:00:05 +0000
commit8b297d083ef692ab4b5d050cbfe108656e0cf901 (patch)
tree9368ffaa91f8cbddc5e80bb94956fb71de81431b /graphics/apla/patches
parent3c75f0906a1d974b56bddc98dcabdd451714f284 (diff)
downloadpkgsrc-8b297d083ef692ab4b5d050cbfe108656e0cf901.tar.gz
o convert to use buildlink.mk
Diffstat (limited to 'graphics/apla/patches')
-rw-r--r--graphics/apla/patches/patch-aa31
1 files changed, 31 insertions, 0 deletions
diff --git a/graphics/apla/patches/patch-aa b/graphics/apla/patches/patch-aa
new file mode 100644
index 00000000000..782cc07e224
--- /dev/null
+++ b/graphics/apla/patches/patch-aa
@@ -0,0 +1,31 @@
+$NetBSD: patch-aa,v 1.1 2001/06/26 10:00:05 zuntum Exp $
+
+--- Makefile.orig Tue May 22 12:51:09 2001
++++ Makefile
+@@ -1,19 +1,18 @@
+ PROG=apla
+
+ LOCALBASE?=/usr/pkg
+-X11BASE?=/usr/X11R6
+ CC=${CXX}
+
++AVIFILE_CONFIG?=${LOCALBASE}/bin/avifile-config
++SDL_CONFIG?=${LOCALBASE}/bin/sdl-config
++
+ CFLAGS+=
+
+-CPPFLAGS+=`${LOCALBASE}/bin/avifile-config --cflags` \
+- `${LOCALBASE}/bin/sdl-config --cflags` \
+- -I${LOCALBASE}/include \
++CPPFLAGS+=`${AVIFILE_CONFIG} --cflags` \
++ `${SDL_CONFIG} --cflags` \
+ '-DX11BASE="${X11BASE}"'
+-LDFLAGS=`${LOCALBASE}/bin/avifile-config --libs` \
+- `${LOCALBASE}/bin/sdl-config --libs` \
+- -L${X11BASE}/lib -Wl,-R${X11BASE}/lib \
+- -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib \
++LDFLAGS+=`${AVIFILE_CONFIG} --libs` \
++ `${SDL_CONFIG} --libs` \
+ -lSDL_ttf -lttf -liconv -li386
+ SRCS=main.cc cmdline.cc help.cc text.cc \
+ ${FONTLIBSRCS}