ports/145700: editors/semi doesn't compile
Walter C. Pelissero
walter.pelissero at iesy.net
Wed Apr 14 13:40:03 UTC 2010
>Number: 145700
>Category: ports
>Synopsis: editors/semi doesn't compile
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Apr 14 13:40:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Walter C. Pelissero
>Release: FreeBSD 7.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD zaphod.home.loc 7.3-STABLE FreeBSD 7.3-STABLE #0: Fri Apr 9 23:37:02 CEST 2010 root at zaphod.home.loc:/usr/home/obj/usr/src/sys/TYAN-TIGER-MP i386
>Description:
If the obj directory is different from /usr/ports editors/sine
can't compile, because the make process expects the Makefile in
the same directory.
>How-To-Repeat:
cd /usr/ports/editors/semi
setenv WRKDIRPREFIX /some/directory/other/than/usr/ports
make
>Fix:
Apply the following patch:
--- Makefile 2010-03-28 08:34:08.000000000 +0200
+++ /tmp/Makefile 2010-04-14 15:02:38.000000000 +0200
@@ -74,35 +74,35 @@
pre-build:
.if defined(EMACS_PACKAGESDIR) && defined(XEMACS_PKGNAME)
- @${MAKE} pkg-el-copy
+ cd ${MASTERDIR}; ${MAKE} pkg-el-copy
.endif
post-build:
.if defined(BUILD_INFO_BY_EMACS) && (${BUILD_INFO_BY_EMACS} == "YES")
- @${MAKE} info-build-by-emacs
+ cd ${MASTERDIR}; ${MAKE} info-build-by-emacs
.else
- @${MAKE} info-build
+ cd ${MASTERDIR}; ${MAKE} info-build
.endif
pre-install:
.if defined(EMACS_PACKAGESDIR) && defined(EMACS_PACKAGES_SUBDIRS)
- @${MAKE} mkdir-site-packages
+ cd ${MASTERDIR}; ${MAKE} mkdir-site-packages
.endif
.if defined(EMACS_PACKAGESDIR) && defined(XEMACS_PKGNAME)
- @${MAKE} pkg-el-install
+ cd ${MASTERDIR}; ${MAKE} pkg-el-install
.endif
post-install:
@${MKDIR} ${LOCALBASE}/share/semi
@${TOUCH} ${LOCALBASE}/share/semi/${SEMI_COOKIE}
.if defined(EMACS_PACKAGESDIR) && defined(MANIFEST)
- @${MAKE} info-package-install
- @${MAKE} manifest-install
+ cd ${MASTERDIR}; ${MAKE} info-package-install
+ cd ${MASTERDIR}; ${MAKE} manifest-install
.else
- @${MAKE} info-install
+ cd ${MASTERDIR}; ${MAKE} info-install
.endif
.if !defined(NOPORTDOCS)
- @${MAKE} doc-install
+ cd ${MASTERDIR}; ${MAKE} doc-install
.endif
###############################################################################
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list