openbsd-ports/multimedia/regionset/patches/patch-Makefile
oga 4ef53ca0cd Import regionset into the right place this time.
Original Log message:
    Import regionset. A simple tool for setting the region code on dvd
    drives.
    
    If you have a new dvd drive, sometimes they have no region set at all
    and won't play dvds until one is set. This solves that problem.
    
    ok okan@, looked over by a couple of others.
2008-01-03 19:30:16 +00:00

21 lines
472 B
Plaintext

$OpenBSD: patch-Makefile,v 1.1.1.1 2008/01/03 19:30:16 oga Exp $
--- Makefile.orig Thu Oct 30 12:29:49 2003
+++ Makefile Thu Jan 3 16:13:02 2008
@@ -6,14 +6,14 @@
# cleanups by Mirko Dölle <cooper@linvdr.org>
#
-CC = gcc -Wall
+CC ?= gcc -Wall ${CFLAGS}
MAKE = make
all: regionset
.PHONY : all
regionset: regionset.c dvd_udf.h dvd_udf.c
- $(CC) -o regionset regionset.c dvd_udf.c
+ $(CC) $(CFLAGS) -o regionset regionset.c dvd_udf.c
.PHONY : clean
clean: