From fbc2408f48a54708c5f1b7b70cc82d537d434c27 Mon Sep 17 00:00:00 2001 From: imura Date: Mon, 23 Oct 2000 16:09:07 +0000 Subject: Make it PREFIX-safe. Submitted by: will --- games/kdegames11/Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'games') diff --git a/games/kdegames11/Makefile b/games/kdegames11/Makefile index 1bd33c6..3c2ca5e 100644 --- a/games/kdegames11/Makefile +++ b/games/kdegames11/Makefile @@ -22,6 +22,16 @@ USE_BZIP2= yes USE_QT= yes GNU_CONFIGURE= yes USE_GMAKE= yes -CONFIGURE_ENV= CXXFLAGS="$(CFLAGS)" INSTALL_SCRIPT="install -c -m 555" +CONFIGURE_ARGS= "--with-qt-includes=${QTDIR}/include/X11/qt" \ + "--with-extra-includes=${LOCALBASE}/include" \ + "--with-extra-libs=${LOCALBASE}/lib" +CONFIGURE_ENV= CXXFLAGS="$(CFLAGS)" INSTALL_SCRIPT="install -c -m 555" \ + QTDIR=${QTDIR} + +.if defined(PREFIX) +QTDIR?= ${PREFIX} +.else +QTDIR?= ${X11BASE} +.endif .include -- cgit v1.1