From 417443d40b41e135fa2f48e8792247338fbd0af9 Mon Sep 17 00:00:00 2001 From: jlam Date: Tue, 5 Jun 2001 22:15:34 +0000 Subject: Use ${X11PREFIX} as the installation prefix of fltk instead of double-listing the headers and libraries. --- x11/fltk/buildlink.mk | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/x11/fltk/buildlink.mk b/x11/fltk/buildlink.mk index b5c6fdf1942..2fbebd5671e 100644 --- a/x11/fltk/buildlink.mk +++ b/x11/fltk/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.1 2001/05/26 07:14:01 jlam Exp $ +# $NetBSD: buildlink.mk,v 1.2 2001/06/05 22:15:34 jlam Exp $ # # This Makefile fragment is included by packages that use FLTK. # @@ -20,13 +20,8 @@ FLTK_REQD?= 1.0.9 .include "../../graphics/Mesa/buildlink.mk" -# We double-list because we're not sure if the files are in ${X11BASE} -# or in ${LOCALBASE}. - -FLTK_HEADERS= ${X11BASE}/include/FL/* -FLTK_HEADERS+= ${LOCALBASE}/include/FL/* -FLTK_LIBS= ${X11BASE}/lib/libfltk.* -FLTK_LIBS+= ${LOCALBASE}/lib/libfltk.* +FLTK_HEADERS= ${X11PREFIX}/include/FL/* +FLTK_LIBS= ${X11PREFIX}/lib/libfltk.* DEPENDS+= fltk>=${FLTK_REQD}:../../x11/fltk BUILDLINK_INCDIR?= ${WRKDIR}/include -- cgit v1.2.3