ports/187961: [patch] editors/lazarus-lcl-units: fails to build

Lawrence The Dreamer Chen beastie at tardisi.com
Wed Mar 26 16:40:01 UTC 2014


>Number:         187961
>Category:       ports
>Synopsis:       [patch] editors/lazarus-lcl-units: fails to build
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 26 16:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Lawrence "The Dreamer" Chen
>Release:        FreeBSD 9.2-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD zen.lhaven.homeip.net 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #0: Sat Jan 11 03:25:02 UTC 2014 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
	
	editors/lazarus-lcl-units fails to build with

	dividerbevel.pas(19,12) Fatal: Can't find unit LResources used by DividerBevel

>How-To-Repeat:
	
>Fix:

	
	In examining Makefile.common, when not building "-lcl-unit" it links to
	the install, but when it is building "-lcl-unit" it doesn't do anything
	extra, like building lcl.

	After some trial and error, adding these lines got things building.

--- patch begins here ---
--- Makefile.common.orig	2014-03-25 22:44:12.000000000 -0500
+++ Makefile.common	2014-03-26 11:07:41.648551717 -0500
@@ -36,6 +36,10 @@
 		${SETENV} ${MAKE_ENV} ${GMAKE} LCL_PLATFORM=${LCL_INTERFACE}
 	@cd ${WRKDIR}/${PORTNAME}/components/lazutils && \
 		${SETENV} ${MAKE_ENV} ${GMAKE} LCL_PLATFORM=${LCL_INTERFACE}
+.if ${PKGNAMESUFFIX} == "-lcl-units"
+	@cd ${WRKDIR}/${PORTNAME}/lcl && \
+		${SETENV} ${MAKE_ENV} ${GMAKE} LCL_PLATFORM=${LCL_INTERFACE}
+.endif
 	@cd ${WRKDIR}/${PORTNAME}/components/lazcontrols && \
 		${SETENV} ${MAKE_ENV} ${GMAKE} LCL_PLATFORM=${LCL_INTERFACE}
 	@cd ${WRKDIR}/${PORTNAME}/components/ideintf && \
--- patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list