--- dvdbackup/Makefile.orig Thu May 4 15:55:26 2006 +++ dvdbackup/Makefile Sat Dec 16 14:05:20 2006 @@ -2,10 +2,8 @@ # -PREFIX ?= /usr/local -CC = gcc -CFLAGS ?= -O2 -g -D_LARGEFILE_SOURCE -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \ +CFLAGS += -I$(LOCALBASE)/include -D_LARGEFILE_SOURCE -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \ -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_REENTRANT CFLAGS += -Wall LDFLAGS += -s @@ -17,6 +15,7 @@ all: dvdbackup_lxdvdrip dvdbackup_lxdvdrip: dvdbackup_lxdvdrip.o + ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC} install: all $(INSTALL) -d $(PREFIX)/bin