Thu Aug 28 07:39:49 2008 UTC ()
Try to fix uncompleted PLIST handling.


(obache)
diff -r1.1.1.1 -r1.2 pkgsrc/devel/libslang2/options.mk

cvs diff -r1.1.1.1 -r1.2 pkgsrc/devel/libslang2/options.mk (expand / switch to unified diff)

--- pkgsrc/devel/libslang2/options.mk 2008/08/09 21:22:11 1.1.1.1
+++ pkgsrc/devel/libslang2/options.mk 2008/08/28 07:39:49 1.2
@@ -1,36 +1,36 @@ @@ -1,36 +1,36 @@
1# $NetBSD: options.mk,v 1.1.1.1 2008/08/09 21:22:11 bjs Exp $ 1# $NetBSD: options.mk,v 1.2 2008/08/28 07:39:49 obache Exp $
2# 2#
3PKG_OPTIONS_VAR= PKG_OPTIONS.libslang2 3PKG_OPTIONS_VAR= PKG_OPTIONS.libslang2
4PKG_SUPPORTED_OPTIONS= png oniguruma pcre 4PKG_SUPPORTED_OPTIONS= png oniguruma pcre
5 5
6.include "../../mk/bsd.options.mk" 6.include "../../mk/bsd.options.mk"
7 7
8PLIST_VARS= ${PKG_SUPPORTED_OPTIONS} 8PLIST_VARS= ${PKG_SUPPORTED_OPTIONS}
9.for var in ${PLIST_VARS} 
10PLIST.${var}= yes 
11.endfor 
12 9
13.if !empty(PKG_OPTIONS:Mpng) 10.if !empty(PKG_OPTIONS:Mpng)
14CONFIGURE_ARGS+= --with-png=${BUILDLINK_PREFIX.png} 11CONFIGURE_ARGS+= --with-png=${BUILDLINK_PREFIX.png}
 12PLIST.png= yes
15. include "../../graphics/png/buildlink3.mk" 13. include "../../graphics/png/buildlink3.mk"
16.else 14.else
17CONFIGURE_ARGS+= --without-png 15CONFIGURE_ARGS+= --without-png
18.endif 16.endif
19 17
20.if !empty(PKG_OPTIONS:Mpcre) 18.if !empty(PKG_OPTIONS:Mpcre)
21CONFIGURE_ARGS+= --with-pcre=${BUILDLINK_PREFIX.pcre} 19CONFIGURE_ARGS+= --with-pcre=${BUILDLINK_PREFIX.pcre}
 20PLIST.pcre= yes
22. include "../../devel/pcre/buildlink3.mk" 21. include "../../devel/pcre/buildlink3.mk"
23.else 22.else
24CONFIGURE_ARGS+= --without-pcre 23CONFIGURE_ARGS+= --without-pcre
25.endif 24.endif
26 25
27.if !empty(PKG_OPTIONS:Moniguruma) 26.if !empty(PKG_OPTIONS:Moniguruma)
28CONFIGURE_ARGS+= --with-onig=${BUILDLINK_PREFIX.oniguruma} 27CONFIGURE_ARGS+= --with-onig=${BUILDLINK_PREFIX.oniguruma}
 28PLIST.oniguruma= yes
29. include "../../textproc/oniguruma/buildlink3.mk" 29. include "../../textproc/oniguruma/buildlink3.mk"
30.else 30.else
31CONFIGURE_ARGS+= --without-onig 31CONFIGURE_ARGS+= --without-onig
32.endif 32.endif
33 33
34.if empty(PKG_OPTIONS:Moniguruma) && empty(PKG_OPTIONS:Mpcre) 34.if empty(PKG_OPTIONS:Moniguruma) && empty(PKG_OPTIONS:Mpcre)
35USE_FEATURES+= regcomp 35USE_FEATURES+= regcomp
36.endif 36.endif