Fixes - pkg-install paths being broken by addition of PORT_REVISION - Newer GNU install refusing to install over old version. Fix: MAINTAINER= marco@freepascal.org COMMENT= Delphi and Turbo Pascal compatible Pascal (commandline) compiler @@ -20,7 +22,6 @@ BROKEN= Incomplete pkg-plist DEPRECATED= ${BROKEN} EXPIRATION_DATE=2005-09-22 - .include <bsd.port.pre.mk> USE_GMAKE= yes FILES_DELETE="bin/ppc386 etc/fpc.cfg etc/fpc.cfg.orig" -LIBDIR=${PKG_PREFIX}/lib/fpc/${PKGNAME##fpc-} +LIBDIR=${PKG_PREFIX}/lib/fpc/${PKGNAME##fpc-devel-} +LIBDIR=${LIBDIR%_*} CHMOD=/bin/chmod LN=/bin/ln @@ -16,7 +17,7 @@ case "$ACTION" in -POST-INSTALL) +POST-INSTALL) ${CHMOD} 0555 ${LIBDIR}/ppc386 ${CHMOD} 0555 ${LIBDIR}/samplecfg ${LN} -sf ${LIBDIR}/ppc386 ${PKG_PREFIX}/bin/ppc386--xvfDokDMRf5NShk9fhM82PwvxIBSpqBEuaVV2D5SbxZQS3DL Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" diff -N -r -u fpc-devel.orig/Makefile fpc-devel/Makefile --- fpc-devel.orig/Makefile Sun Jul 24 04:01:30 2005 +++ fpc-devel/Makefile Tue Aug 23 18:26:55 2005 @@ -13,6 +13,8 @@ ftp://ftp.freepascal.org/pub/fpc/beta/freebsd-${PORTVERSION}-ports/ DISTNAME= fpc-${PORTVERSION}-ports EXTRACT_SUFX= .tar.bz2 +PATCHDIR= ${MASTERDIR}/patches +PATCHFILES= How-To-Repeat: (no problems, just incomplete pkg-list as result of failing pkg-install)
Responsible Changed From-To: freebsd-ports-bugs->lawrance Take
State Changed From-To: open->closed Committed, thanks! There seemed to be a bit of extra junk in that patch. Always make sure you diff against the latest version of the port from the ports tree.