summaryrefslogtreecommitdiff
path: root/graphics/xpm
diff options
context:
space:
mode:
authorbouyer <bouyer>2002-10-28 11:23:08 +0000
committerbouyer <bouyer>2002-10-28 11:23:08 +0000
commit6a74bbfd7b66c5ee288cee3a5ede8a43e34490be (patch)
treee005a6cd328a849e16030ad25f3352bddc4b986d /graphics/xpm
parent3bc19403575ded850f347a8b58389fb0984fe98a (diff)
downloadpkgsrc-6a74bbfd7b66c5ee288cee3a5ede8a43e34490be.tar.gz
This file was removed on rev 1.14. I don't know why cvs re-added it instead
of aborting because of the conflict.
Diffstat (limited to 'graphics/xpm')
-rw-r--r--graphics/xpm/buildlink.mk57
1 files changed, 0 insertions, 57 deletions
diff --git a/graphics/xpm/buildlink.mk b/graphics/xpm/buildlink.mk
deleted file mode 100644
index cf7deef2cab..00000000000
--- a/graphics/xpm/buildlink.mk
+++ /dev/null
@@ -1,57 +0,0 @@
-# $NetBSD: buildlink.mk,v 1.15 2002/10/27 18:00:07 bouyer Exp $
-#
-# This Makefile fragment is included by packages that use xpm.
-#
-# To use this Makefile fragment, simply:
-#
-# (1) Include this Makefile fragment in the package Makefile,
-# (2) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header
-# search path, and
-# (3) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search
-# path.
-
-.if !defined(XPM_BUILDLINK_MK)
-XPM_BUILDLINK_MK= # defined
-
-.include "../../mk/bsd.buildlink.mk"
-
-BUILDLINK_DEPENDS.xpm?= xpm-3.4k
-
-# Check if we got Xpm distributed with XFree86 4.x or Solaris 9 or if we need
-# to depend on the Xpm package.
-#
-_REQUIRE_BUILTIN_XPM?= NO
-.if (${OPSYS} != SunOS) || (${X11BASE} != "/usr/openwin")
-.if exists(${X11BASE}/include/X11/xpm.h) && \
- exists(${X11BASE}/lib/X11/config/X11.tmpl)
-_IS_BUILTIN_XPM!= ${EGREP} -c NormalLibXpm ${X11BASE}/lib/X11/config/X11.tmpl || ${TRUE}
-.else
-_IS_BUILTIN_XPM= 0
-.endif
-.else
-_IS_BUILTIN_XPM!= (/usr/sbin/pkgchk -l SUNWxwinc | ${EGREP} -c xpm.h) || ${TRUE}
-.endif
-.if (${_IS_BUILTIN_XPM} == "0") && (${_REQUIRE_BUILTIN_XPM} == "NO")
-_NEED_XPM= YES
-.else
-_NEED_XPM= NO
-.endif
-
-.if ${_NEED_XPM} == "YES"
-DEPENDS+= ${BUILDLINK_DEPENDS.xpm}:../../graphics/xpm
-EVAL_PREFIX+= BUILDLINK_PREFIX.xpm=xpm
-BUILDLINK_PREFIX.xpm_DEFAULT= ${X11PREFIX}
-.else
-BUILDLINK_PREFIX.xpm= ${X11BASE}
-.endif
-
-BUILDLINK_FILES.xpm+= include/X11/xpm.h
-BUILDLINK_FILES.xpm+= lib/libXpm.*
-
-BUILDLINK_TARGETS.xpm= xpm-buildlink
-BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.xpm}
-
-pre-configure: ${BUILDLINK_TARGETS.xpm}
-xpm-buildlink: _BUILDLINK_USE
-
-.endif # XPM_BUILDLINK_MK