Lines 17-23
Link Here
|
17 |
LICENSE="Artistic GPL-2" |
17 |
LICENSE="Artistic GPL-2" |
18 |
SLOT="0" |
18 |
SLOT="0" |
19 |
KEYWORDS="x86 ~ppc sparc mips alpha arm ~hppa amd64 ~ia64 ~ppc64 ~s390" |
19 |
KEYWORDS="x86 ~ppc sparc mips alpha arm ~hppa amd64 ~ia64 ~ppc64 ~s390" |
20 |
IUSE="berkdb doc gdbm ithreads uclibc" |
20 |
IUSE="berkdb doc gdbm ithreads uclibc suid" |
21 |
|
21 |
|
22 |
DEPEND="!uclibc? ( sys-apps/groff ) |
22 |
DEPEND="!uclibc? ( sys-apps/groff ) |
23 |
berkdb? ( sys-libs/db ) |
23 |
berkdb? ( sys-libs/db ) |
Lines 172-177
Link Here
|
172 |
ewarn "Perl will not be built with berkdb support, use gcc if you needed it..." |
172 |
ewarn "Perl will not be built with berkdb support, use gcc if you needed it..." |
173 |
myconf="${myconf} -Ui_db -Ui_ndbm" |
173 |
myconf="${myconf} -Ui_db -Ui_ndbm" |
174 |
fi |
174 |
fi |
|
|
175 |
if use suid |
176 |
then |
177 |
ewarn "Perl will be built with suid support. This may be a security risk!" |
178 |
myconf="${myconf} -Dd_dosuid " |
179 |
fi |
175 |
|
180 |
|
176 |
# These are temporary fixes. Need to edit the build so that that libraries created |
181 |
# These are temporary fixes. Need to edit the build so that that libraries created |
177 |
# only get compiled with -fPIC, since they get linked into shared objects, they |
182 |
# only get compiled with -fPIC, since they get linked into shared objects, they |
Lines 191-197
Link Here
|
191 |
-Dlocincpth=' ' \ |
196 |
-Dlocincpth=' ' \ |
192 |
-Doptimize="${CFLAGS}" \ |
197 |
-Doptimize="${CFLAGS}" \ |
193 |
-Duselargefiles \ |
198 |
-Duselargefiles \ |
194 |
-Dd_dosuid \ |
|
|
195 |
-Dd_semctl_semun \ |
199 |
-Dd_semctl_semun \ |
196 |
-Dscriptdir=/usr/bin \ |
200 |
-Dscriptdir=/usr/bin \ |
197 |
-Dman1dir=/usr/share/man/man1 \ |
201 |
-Dman1dir=/usr/share/man/man1 \ |
Lines 257-264
Link Here
|
257 |
# delete suidperl entirely. if this causes outrage, here's where |
261 |
# delete suidperl entirely. if this causes outrage, here's where |
258 |
# to fix. |
262 |
# to fix. |
259 |
|
263 |
|
260 |
rm ${D}/usr/bin/sperl${PV} |
|
|
261 |
rm ${D}/usr/bin/suidperl |
262 |
rm ${D}/usr/bin/perl |
264 |
rm ${D}/usr/bin/perl |
263 |
ln -s perl${PV} ${D}/usr/bin/perl |
265 |
ln -s perl${PV} ${D}/usr/bin/perl |
264 |
|
266 |
|