On Fri, 2007-11-16 at 17:34 -0500, Okan Demirmen wrote: > On Fri 2007.11.16 at 17:27 -0500, Okan Demirmen wrote: > > i think the one thing i'd ask is replacing the hardcoded /usr/local bits > > in the patches with !!LOCALBASE!! and do something like the following in > > pre-configure: > > perl -pi -e 's,!!LOCALBASE!!,${LOCALBASE},g' > > > > (shameless stolen from sthen@'s mail earlier on...) > > > and i forgot to mention, openbsd doesn't gz man pages.
Both done like the following (and related changes in other files): @perl -pi -e 's,!!LOCALBASE!!,${LOCALBASE},g' \ ${WRKSRC}/{p3scan.conf,p3scan.h} @gunzip ${WRKSRC}/{p3scan.8.gz,p3scan_readme.8.gz} Please find the new package attached. But I am not happy with the !!LOCALBASE!! changes in the patch files. Because when I make update-patches, they are replaced with '/usr/local', and I have to copy those *.orig patch files back manually. That's a headache if there is no solution.
p3scan-2.3.2.tar.gz
Description: application/compressed-tar