Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2014 11:31:19 -0500 (CDT)
From:      Lawrence "The Dreamer" Chen <beastie@tardisi.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/187961: [patch] editors/lazarus-lcl-units: fails to build
Message-ID:  <201403261631.s2QGVJAM091521@zen.lhaven.homeip.net>
Resent-Message-ID: <201403261640.s2QGe0Sn072605@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403261631.s2QGVJAM091521>