Commits

Martin Tournoij committed a3f8816

Fix rather silly bug where pkgng was detected even if it\'s not used

Comments (0)

Files changed (1)

 
 localbase=${LOCALBASE:=/usr/local}
 pkgdb=${PKGDB:=/var/db/pkg}
-[ -f ${pkgdb}/local.sqlite ] && [ "X$(make -V WITH_PKGNG)" != "X" ]
+[ ! -f ${pkgdb}/local.sqlite ] && [ "X$(make -V WITH_PKGNG)" != "X" ]
 pkgng=$?
 
 # Make sure localbase doesn't have a trailing slash