[apparmor] [patch] autodetect VENDOR_PERL directly
Christian Boltz
apparmor at cboltz.de
Wed Sep 14 22:18:03 UTC 2011
Hello,
side effect of creating the openSUSE RPM:
Make the VENDOR_PERL directoy autodetected in utils/Makefile instead of
hardcoding it.
=== modified file 'utils/Makefile'
--- utils/Makefile 2011-09-13 18:58:24 +0000
+++ utils/Makefile 2011-09-14 22:12:35 +0000
@@ -42,7 +42,7 @@
DESTDIR=/
BINDIR=${DESTDIR}/usr/sbin
CONFDIR=${DESTDIR}/etc/apparmor
-VENDOR_PERL?=/usr/lib/perl5/vendor_perl
+VENDOR_PERL=$(shell perl -e 'use Config; print $$Config{"vendorlib"};')
PERLDIR=${DESTDIR}${VENDOR_PERL}/${MODDIR}
po/${NAME}.pot: ${TOOLS}
Regards,
Christian Boltz
--
[RAM] Du würdest Dir wahrscheinlich auch einen Schoko-Riegel
mit 768 Kcal einbauen und dann zu Mandrake wechseln, weil die
den BadRAM-Patch haben. [Rüdiger Meier in suse-linux]
More information about the AppArmor
mailing list