Fix missing CFLAGS exposed by sqlite import. Patch from Nigel Taylor. Thanks

This commit is contained in:
edd 2012-04-15 15:23:54 +00:00
parent e01e15ddde
commit 5e31011d2d

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-Makefile_in,v 1.4 2012/04/15 15:23:54 edd Exp $
--- Makefile.in.orig Wed Mar 21 17:26:33 2012
+++ Makefile.in Sun Apr 15 01:35:35 2012
@@ -84,7 +84,7 @@ mplayer.o: mplayer.c mplayer.h
hgd-playd: common.o db.o py.o hgd-playd.c hgd.h config.h crypto.o mplayer.o cfg.o
@echo "\n--> Building: \"hgd-playd\""
- ${CC} hgd-playd.c ${CPPFLAGS} ${SQL_CFLAGS} ${PY_CFLAGS} ${CFLAGS} \
+ ${CC} hgd-playd.c ${CPPFLAGS} ${SQL_CFLAGS} ${CONFIG_CFLAGS} ${PY_CFLAGS} ${CFLAGS} \
db.o common.o crypto.o py.o mplayer.o cfg.o \
${SQL_LDFLAGS} ${SSL_LDFLAGS} ${LDFLAGS} ${PY_LDFLAGS} \
${BSD_LDFLAGS} ${CONFIG_LDFLAGS} \
@@ -92,7 +92,7 @@ hgd-playd: common.o db.o py.o hgd-playd.c hgd.h config
hgd-netd: cfg.o common.o net.o mplayer.o hgd-netd.c hgd.h db.o cfg.o crypto.o user.o
@echo "\n--> Building: \"hgd-netd\""
- ${CC} hgd-netd.c ${TAG_CFLAGS} ${CPPFLAGS} ${SQL_CFLAGS} ${CFLAGS} ${PY_CFLAGS} \
+ ${CC} hgd-netd.c ${TAG_CFLAGS} ${CPPFLAGS} ${SQL_CFLAGS} ${CONFIG_CFLAGS} ${CFLAGS} ${PY_CFLAGS} \
mplayer.o cfg.o common.o db.o net.o crypto.o user.o \
${TAG_LDFLAGS} ${SQL_LDFLAGS} ${SSL_LDFLAGS} ${LDFLAGS} \
${BSD_LDFLAGS} ${CONFIG_LDFLAGS} \