summaryrefslogtreecommitdiff
path: root/devel/libgphoto2
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-02-25 12:12:47 +0000
committerjperkin <jperkin@pkgsrc.org>2016-02-25 12:12:47 +0000
commit1b40dcd9f36f779d46476e13ee9358b88db18f05 (patch)
treef1a4fb72a51c4774071ccedf5be918c6f34c117a /devel/libgphoto2
parent7fdd43d846dce67b6998fa5441196ffaa1b56e5b (diff)
downloadpkgsrc-1b40dcd9f36f779d46476e13ee9358b88db18f05.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'devel/libgphoto2')
-rw-r--r--devel/libgphoto2/Makefile8
1 files changed, 3 insertions, 5 deletions
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: