Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Nov 2005 01:53:50 +0200
From:      "Ion-Mihai "IOnut" Tetcu" <itetcu@people.tecnik93.com>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/89740: [MAINTAINER] editors/rospell: fix build on 4.x
Message-ID:  <1133308430.0@it.buh.tecnik93.com>
Resent-Message-ID: <200511300000.jAU00Mb9034699@freefall.freebsd.org>

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

>Number:         89740
>Category:       ports
>Synopsis:       [MAINTAINER] editors/rospell: fix build on 4.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 30 00:00:22 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Ion-Mihai "IOnut" Tetcu
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
Tecnik'93 
>Environment:


System: FreeBSD 6.0-STABLE #4: Wed Nov 16 15:38:12 EET 2005


>Description:


4.x make doesn't know what BSDmakefile is so tekk it what to use.

Remove HAS_CONFIGURE= yes because we don't use distributed ./configure


>How-To-Repeat:





>Fix:


--- Makefile.diff begins here ---
--- rospell/Makefile.orig	Wed Nov 30 01:37:06 2005
+++ rospell/Makefile	Wed Nov 30 01:49:05 2005
@@ -20,20 +20,19 @@
 MAKE_ENV+=	PTHREAD_CFLAGS=${PTHREAD_CFLAGS} PTHREAD_LIBS=${PTHREAD_LIBS}
 CONFIGURE_ENV=	QTDIR=${X11BASE} LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}"
 
-HAS_CONFIGURE=	yes
+MAKEFILE=	BSDmakefile
 
 MAN1=	rospell.1
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} < 500000
-IGNORE=		doesn't compile properly on 4.x systems
-.endif
+do-configure:
+	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} -f ${MAKEFILE} dictfiles.h
 
 do-build:
-	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE}
+	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} -f ${MAKEFILE} ${ALL_TARGET}
 
 do-install:
-	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} install
+	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} -f ${MAKEFILE} ${INSTALL_TARGET}
 
 .include <bsd.port.post.mk>
--- Makefile.diff ends here ---



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



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