45 |
mirror://${PNAME}/${PNAME}-9.04-scripts.patch |
mirror://${PNAME}/${PNAME}-9.04-scripts.patch |
46 |
mirror://${PNAME}/${PNAME}-9.04-runlibfileifexists.patch |
mirror://${PNAME}/${PNAME}-9.04-runlibfileifexists.patch |
47 |
mirror://${PNAME}/${PNAME}-8.70-pksmraw.patch |
mirror://${PNAME}/${PNAME}-8.70-pksmraw.patch |
48 |
mirror://${PNAME}/${PNAME}-${PVER}-zlib.patch |
mirror://${PNAME}/${PNAME}-9.16-zlib.patch |
49 |
) |
) |
50 |
|
|
51 |
UP2DATE="updatecmd http://downloads.ghostscript.com/public/ | grep ${PNAME/-gpl/}- | highesttarball" |
UP2DATE="updatecmd http://downloads.ghostscript.com/public/ | grep ${PNAME/-gpl/}- | highesttarball" |
76 |
mpatch ${PNAME}-8.70-pksmraw.patch || die |
mpatch ${PNAME}-8.70-pksmraw.patch || die |
77 |
|
|
78 |
# fix build against system zlib |
# fix build against system zlib |
79 |
mpatch ${PNAME}-${PVER}-zlib.patch || die |
mpatch ${PNAME}-9.16-zlib.patch || die |
80 |
|
|
81 |
# search path fix |
# search path fix |
82 |
all-abis 'sed -i "s:\$\(gsdatadir\)/lib:/usr/share/ghostscript/${PVER%.*}/$(mlibdir):" Makefile.in base/*.mak || die' |
all-abis 'sed -i "s:\$\(gsdatadir\)/lib:/usr/share/ghostscript/${PVER%.*}/$(mlibdir):" Makefile.in base/*.mak || die' |