openbsd-ports/games/xscavenger/patches/patch-src-Imakefile
jakemsr a7011b04f5 - use sndio instead of ossaudio
- license marker
- @bin marker
ok landry@, ratchov@
2010-01-03 21:51:29 +00:00

21 lines
683 B
Plaintext

--- src/Imakefile.orig Sun Jan 9 21:15:30 2000
+++ src/Imakefile Sun Jan 3 01:35:51 2010
@@ -1,7 +1,7 @@
# set this to the path where data files should be stored. LIBDIR
# is automatically defined by imake, usually to /usr/X11R6/lib/X11, so
# this should be a good default.
-LIBNAME = $(LIBDIR)/scavenger
+LIBNAME = $(TRUEPREFIX)/share/scavenger
SRCS = anim.c edit.c scav.c x.c sound.c
OBJS = $(SRCS:.c=.o)
@@ -13,7 +13,7 @@ LIB_DATA = \
../data/reddevil.lbm ../data/regularguy.lbm ../data/spiralthing.lbm \
../data/victory.raw
-LOCAL_LIBRARIES = $(XLIB)
+LOCAL_LIBRARIES = $(XLIB) -lsndio
EXTRA_DEFINES = -DLIBNAME=\"$(LIBNAME)\"
ComplexProgramTarget(scavenger)