ports/64460: Wrong libebml include path in libmatroska-0.6.3_2 port

Aron Stansvik elvstone at osdever.net
Fri Mar 19 15:40:18 UTC 2004


>Number:         64460
>Category:       ports
>Synopsis:       Wrong libebml include path in libmatroska-0.6.3_2 port
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 19 07:40:17 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Aron Stansvik
>Release:        5.2.1-RELEASE
>Organization:
>Environment:
FreeBSD glorfindel.dose.se 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #1: Fri Mar  5 04:11:54 CET 2004 elvis at glorfindel.dose.se:/usr/obj/usr/src/sys/GLORFINDEL  i386
>Description:
I noticed that libmatroska-0.6.3_2 failed on a missing libebml header. It seems it uses a wrong include path for libebml. The fix below works for me, I don't know if it breaks things for other releases, but looking at the libebml port, I don't think it should. Maybe this is not the correct way to fix this problem, I'm a ports newbie.
>How-To-Repeat:
'portinstall libmatroska' with current ports tree.
>Fix:
--- Makefile.orig       Fri Mar 19 16:28:28 2004
+++ Makefile    Fri Mar 19 16:28:46 2004
@@ -37,7 +37,7 @@
                -e 's|^(prefix).*$$|\1=${PREFIX}|; \
                        s,^(CXX|LD)[[:space:]]*=.*$$,\1=${CXX},; \
                        s|^(CXXFLAGS)[[:space:]]*=(.*)$$|\1+=\2|; \
-                       s|^(LIBEBML_INCLUDE_DIR)[[:space:]]*=.*|\1=${LOCALBASE}/include/ebml|; \
+                       s|^(LIBEBML_INCLUDE_DIR)[[:space:]]*=.*|\1=${LOCALBASE}/include|; \
                        s|^(LIBEBML_LIB_DIR)[[:space:]]*=.*|\1=${LOCALBASE}/lib|; \
                        s|^(INSTALL)[[:space:]]*=.*$$|\1=|; \
                        s|^(INSTALL_DIR_OPTS)[[:space:]]*=.*$$|\1=${INSTALL_DATA_DIR}|; \
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list