make sure those can find SDL.h w/o relying ${LOCALBASE}/include is in search path

This commit is contained in:
pvalchev 2002-11-29 05:27:57 +00:00
parent 4ddd475c7f
commit 70efb97788
2 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.7 2001/12/28 22:11:58 pvalchev Exp $
# $OpenBSD: Makefile,v 1.8 2002/11/29 05:27:57 pvalchev Exp $
COMMENT= "curses-based mp3 player"
@ -22,7 +22,8 @@ MASTER_SITES= http://www.xanadunet.net/ksmp3play/
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= LIBS="-liberty"
CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \
LIBS="-liberty"
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ksmp3play

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.9 2002/05/27 02:50:14 brad Exp $
# $OpenBSD: Makefile,v 1.10 2002/11/29 05:27:57 pvalchev Exp $
COMMENT= "graphical user interface library for C++"
@ -32,7 +32,7 @@ USE_X11= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng" \
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" \
LDFLAGS="-L${LOCALBASE}/lib"
VMEM_WARNING= Yes