From 1b40dcd9f36f779d46476e13ee9358b88db18f05 Mon Sep 17 00:00:00 2001 From: jperkin Date: Thu, 25 Feb 2016 12:12:47 +0000 Subject: Use OPSYSVARS. --- devel/libgphoto2/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'devel/libgphoto2') diff --git a/devel/libgphoto2/Makefile b/devel/libgphoto2/Makefile index f0512219b38..32110ca0ab7 100644 --- a/devel/libgphoto2/Makefile +++ b/devel/libgphoto2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.65 2016/02/04 11:57:50 wiz Exp $ +# $NetBSD: Makefile,v 1.66 2016/02/25 12:12:48 jperkin Exp $ DISTNAME= libgphoto2-2.5.8 PKGREVISION= 1 @@ -27,14 +27,12 @@ REPLACE_SH= packaging/generic/check-ptp-camera PLIST_VARS+= libusb -.if ${OPSYS} == "SunOS" -BUILDLINK_TRANSFORM+= opt:-Wl,--version-script=./libgphoto2_port.ver:-Wl,-M./libgphoto2_port.ver +BUILDLINK_TRANSFORM.SunOS+= opt:-Wl,--version-script=./libgphoto2_port.ver:-Wl,-M./libgphoto2_port.ver -SUBST_CLASSES+= mapfile +SUBST_CLASSES.SunOS+= mapfile SUBST_STAGE.mapfile= post-patch SUBST_FILES.mapfile= libgphoto2_port/libgphoto2_port/libgphoto2_port.ver SUBST_SED.mapfile= -e '/gpi_gphoto_port_type_map/d' -.endif # remove symbolic link post-install: -- cgit v1.2.3