FreeBSD Port: libmusicbrainz3-3.0.2_1 - FindNeon.cmake hard codes
/usr/local
David P. Discher
dpd at dpdtech.com
Wed May 20 06:06:39 UTC 2009
libmusicbrainz3 FindNeon.cmake file hard codes '/usr/local' instead of
respecting LOCALBASE or PREFIX. This is being passed to cmake,
Apparently a reversed diff, but the patch is as follows :
> diff -u cmake/modules/FindNeon.cmake cmake/modules/
FindNeon.cmake.orig
--- cmake/modules/FindNeon.cmake 2009-05-19 22:59:07.000000000
-0700
+++ cmake/modules/FindNeon.cmake.orig 2009-05-19 22:58:01.000000000
-0700
@@ -4,13 +4,13 @@
FIND_PATH(NEON_INCLUDE_DIR ne_request.h
${_NeonIncDir}
/usr/include/neon
- ${CMAKE_INSTALL_PREFIX}/include/neon
+ /usr/local/include/neon
)
FIND_LIBRARY(NEON_LIBRARIES neon
${_NeonLinkDir}
/usr/lib
- ${CMAKE_INSTALL_PREFIX}/lib
+ /usr/local/lib
)
IF (NEON_INCLUDE_DIR AND NEON_LIBRARIES)
-----------------------------------------------------------------------
David P. Discher * <http://davidpdischer.com/> * C: 408.368.3725
<dpd at dpdtech.com> * AIM: DavidDPD | Y!M: daviddpdz * H: 408.541.0159
-----------------------------------------------------------------------
More information about the freebsd-ports
mailing list