You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
573 B

  1. --- a/Makefile
  2. +++ b/Makefile
  3. @@ -29,8 +29,7 @@ libudev.so: ${OBJ}
  4. ${CC} ${XCFLAGS} -o $@ ${OBJ} ${XLDFLAGS}
  5. libudev.pc: libudev.pc.in
  6. - sed -e 's|@libdir@|${LIBDIR}|g' \
  7. - -e 's|@includedir@|${INCLUDEDIR}|g' \
  8. + sed -e 's|@prefix@|${PREFIX}|g' \
  9. -e 's|@VERSION@|243|g' \
  10. libudev.pc.in > libudev.pc
  11. --- a/libudev.pc.in
  12. +++ b/libudev.pc.in
  13. @@ -1,5 +1,7 @@
  14. -libdir=@libdir@
  15. -includedir=@includedir@
  16. +prefix=@prefix@
  17. +exec_prefix=@prefix@
  18. +libdir=${exec_prefix}/lib
  19. +includedir=${prefix}/include
  20. Name: libudev
  21. Description: Daemonless replacement for libudev