Bug 85255 - [Maintainer] Fix [Broken] status of lang/fpc-devel
Summary: [Maintainer] Fix [Broken] status of lang/fpc-devel
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sam Lawrance
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-23 20:40 UTC by marcov
Modified: 2005-10-02 16:05 UTC (History)
0 users

See Also:


Attachments
file.diff (1.70 KB, patch)
2005-08-23 20:40 UTC, marcov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description marcov 2005-08-23 20:40:10 UTC
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)
Comment 1 Sam Lawrance freebsd_committer freebsd_triage 2005-09-04 17:23:29 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lawrance

Take
Comment 2 Sam Lawrance freebsd_committer freebsd_triage 2005-10-02 16:04:02 UTC
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.