%n db %v 1.85.4 %c * %l * %b * %d * %f * %t db-1.85.4.tgz %w Misc %% %setup patch -u -p1 <<'ENDPATCH' diff -ru2N db-1.85.4/PORT/linux/Makefile db-MCC/PORT/linux/Makefile --- db-1.85.4/PORT/linux/Makefile Sun Mar 10 05:22:00 1996 +++ db-MCC/PORT/linux/Makefile Sun Aug 11 23:14:28 1996 @@ -1,10 +1,10 @@ # @(#)Makefile 8.9 (Berkeley) 7/14/94 -prefix = /root/usr +prefix = /usr libdir = ${prefix}/lib includedir = ${prefix}/include -INSTALL = install -c -LN = ln -s +INSTALL = install +LN = ln -sf LIBNAME = libdb @@ -48,10 +48,10 @@ -mkdir ${libdir} -mkdir ${includedir} - ${INSTALL} -m 644 ${LIBDB} ${libdir}/${LIBDB} - ${INSTALL} -m 755 ${SHLIBDB} ${libdir}/${SHLIBDB} - ${LN} ${libdir}/${SHLIBDB} ${libdir}/${SONAME} - ${LN} ${libdir}/${SHLIBDB} ${libdir}/${LIBNAME}.so - ${INSTALL} -m 644 include/mpool.h ${includedir}/mpool.h - ${INSTALL} -m 644 include/db.h ${includedir}/db.h + ${INSTALL} -m 444 ${LIBDB} ${libdir}/${LIBDB} + ${INSTALL} -m 555 ${SHLIBDB} ${libdir}/${SHLIBDB} + ln -sf ${SHLIBDB} ${libdir}/${SONAME} + ln -sf ${SONAME} ${libdir}/${LIBNAME}.so + ${INSTALL} -m 444 include/mpool.h ${includedir}/mpool.h + ${INSTALL} -m 444 include/db.h ${includedir}/db.h clean: @@ -59,5 +59,5 @@ rm -f static/* shared/* -OORG= -O6 -m486 -fomit-frame-pointer +OORG= -O6 -fomit-frame-pointer CL= ${CC} -c -D__DBINTERFACE_PRIVATE ${OORG} -I. -Iinclude CS= ${CC} -fPIC -c -D__DBINTERFACE_PRIVATE ${OORG} -I. -Iinclude ENDPATCH cd PORT/linux make * make install %%