summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/gegl/Makefile6
-rw-r--r--graphics/gegl/PLIST7
2 files changed, 9 insertions, 4 deletions
diff --git a/graphics/gegl/Makefile b/graphics/gegl/Makefile
index a6c1c1d014c..037c1658dda 100644
--- a/graphics/gegl/Makefile
+++ b/graphics/gegl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.105 2022/04/18 19:11:16 adam Exp $
+# $NetBSD: Makefile,v 1.106 2022/05/13 20:56:09 tnn Exp $
DISTNAME= gegl-0.4.36
PKGREVISION= 2
@@ -29,10 +29,14 @@ PKGCONFIG_OVERRIDE+= gegl.pc.in
PYTHON_FOR_BUILD_ONLY= tool
.include "../../mk/bsd.prefs.mk"
+
+PLIST_VARS+= darwin notdarwin
.if ${OPSYS} == "Darwin"
PLIST_SUBST+= SOEXT="dylib"
+PLIST.darwin= yes
.else
PLIST_SUBST+= SOEXT="so"
+PLIST.notdarwin= yes
.endif
PLIST_VARS+= x86_64
diff --git a/graphics/gegl/PLIST b/graphics/gegl/PLIST
index ca72623b07d..89034b2bc1b 100644
--- a/graphics/gegl/PLIST
+++ b/graphics/gegl/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.37 2022/03/24 00:02:25 tnn Exp $
+@comment $NetBSD: PLIST,v 1.38 2022/05/13 20:56:09 tnn Exp $
bin/gegl
bin/gegl-imgcmp
include/gegl-0.4/gegl-apply.h
@@ -136,8 +136,9 @@ lib/gegl-0.4/vector-stroke.${SOEXT}
lib/gegl-0.4/webp-load.${SOEXT}
lib/gegl-0.4/webp-save.${SOEXT}
lib/libgegl-0.4.${SOEXT}
-lib/libgegl-0.4.${SOEXT}.0
-lib/libgegl-0.4.${SOEXT}.0.435.1
+${PLIST.darwin}lib/libgegl-0.4.0.dylib
+${PLIST.notdarwin}lib/libgegl-0.4.${SOEXT}.0
+${PLIST.notdarwin}lib/libgegl-0.4.${SOEXT}.0.435.1
lib/libgegl-npd-0.4.${SOEXT}
lib/libgegl-sc-0.4.${SOEXT}
lib/pkgconfig/gegl-0.4.pc