- Add a clean solution to compile devel/fpc-fcl, using OPT and removing the rtl
and packages directories from WRKSRC - Bump devel/fpc-fcl PORTREVISION Submitted by: Ales Katona <almindor__at__gmail.com> (via email) Modified by: me
This commit is contained in:
parent
f33b28ca83
commit
8b58df389b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=173830
12 changed files with 26 additions and 23 deletions
|
@ -5,7 +5,7 @@
|
|||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel lang
|
||||
PKGNAMESUFFIX= -fcl
|
||||
|
||||
|
@ -32,6 +32,6 @@ BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
|
|||
UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
|
||||
MASTERDIR= ${.CURDIR}/../../lang/fpc
|
||||
WRKUNITDIR= ${FPCSRCDIR}/${PKGNAMESUFFIX:S/-//}
|
||||
EXTRACTUNITDIR+= ${WRKUNITDIR} ${FPCSRCDIR}/rtl ${FPCSRCDIR}/packages/base
|
||||
EXTRACTUNITDIR+= ${WRKUNITDIR}
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel lang
|
||||
PKGNAMESUFFIX= -fcl
|
||||
|
||||
|
@ -32,6 +32,6 @@ BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
|
|||
UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
|
||||
MASTERDIR= ${.CURDIR}/../../lang/fpc
|
||||
WRKUNITDIR= ${FPCSRCDIR}/${PKGNAMESUFFIX:S/-//}
|
||||
EXTRACTUNITDIR+= ${WRKUNITDIR} ${FPCSRCDIR}/rtl ${FPCSRCDIR}/packages/base
|
||||
EXTRACTUNITDIR+= ${WRKUNITDIR}
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel lang
|
||||
PKGNAMESUFFIX= -fcl
|
||||
|
||||
|
@ -32,6 +32,6 @@ BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
|
|||
UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
|
||||
MASTERDIR= ${.CURDIR}/../../lang/fpc
|
||||
WRKUNITDIR= ${FPCSRCDIR}/${PKGNAMESUFFIX:S/-//}
|
||||
EXTRACTUNITDIR+= ${WRKUNITDIR} ${FPCSRCDIR}/rtl ${FPCSRCDIR}/packages/base
|
||||
EXTRACTUNITDIR+= ${WRKUNITDIR}
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel lang
|
||||
PKGNAMESUFFIX= -fcl
|
||||
|
||||
|
@ -32,6 +32,6 @@ BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
|
|||
UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
|
||||
MASTERDIR= ${.CURDIR}/../../lang/fpc
|
||||
WRKUNITDIR= ${FPCSRCDIR}/${PKGNAMESUFFIX:S/-//}
|
||||
EXTRACTUNITDIR+= ${WRKUNITDIR} ${FPCSRCDIR}/rtl ${FPCSRCDIR}/packages/base
|
||||
EXTRACTUNITDIR+= ${WRKUNITDIR}
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel lang
|
||||
PKGNAMESUFFIX= -fcl
|
||||
|
||||
|
@ -32,6 +32,6 @@ BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
|
|||
UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
|
||||
MASTERDIR= ${.CURDIR}/../../lang/fpc
|
||||
WRKUNITDIR= ${FPCSRCDIR}/${PKGNAMESUFFIX:S/-//}
|
||||
EXTRACTUNITDIR+= ${WRKUNITDIR} ${FPCSRCDIR}/rtl ${FPCSRCDIR}/packages/base
|
||||
EXTRACTUNITDIR+= ${WRKUNITDIR}
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel lang
|
||||
PKGNAMESUFFIX= -fcl
|
||||
|
||||
|
@ -32,6 +32,6 @@ BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
|
|||
UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
|
||||
MASTERDIR= ${.CURDIR}/../../lang/fpc
|
||||
WRKUNITDIR= ${FPCSRCDIR}/${PKGNAMESUFFIX:S/-//}
|
||||
EXTRACTUNITDIR+= ${WRKUNITDIR} ${FPCSRCDIR}/rtl ${FPCSRCDIR}/packages/base
|
||||
EXTRACTUNITDIR+= ${WRKUNITDIR}
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel lang
|
||||
PKGNAMESUFFIX= -fcl
|
||||
|
||||
|
@ -32,6 +32,6 @@ BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
|
|||
UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
|
||||
MASTERDIR= ${.CURDIR}/../../lang/fpc
|
||||
WRKUNITDIR= ${FPCSRCDIR}/${PKGNAMESUFFIX:S/-//}
|
||||
EXTRACTUNITDIR+= ${WRKUNITDIR} ${FPCSRCDIR}/rtl ${FPCSRCDIR}/packages/base
|
||||
EXTRACTUNITDIR+= ${WRKUNITDIR}
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel lang
|
||||
PKGNAMESUFFIX= -fcl
|
||||
|
||||
|
@ -32,6 +32,6 @@ BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
|
|||
UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
|
||||
MASTERDIR= ${.CURDIR}/../../lang/fpc
|
||||
WRKUNITDIR= ${FPCSRCDIR}/${PKGNAMESUFFIX:S/-//}
|
||||
EXTRACTUNITDIR+= ${WRKUNITDIR} ${FPCSRCDIR}/rtl ${FPCSRCDIR}/packages/base
|
||||
EXTRACTUNITDIR+= ${WRKUNITDIR}
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel lang
|
||||
PKGNAMESUFFIX= -fcl
|
||||
|
||||
|
@ -32,6 +32,6 @@ BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
|
|||
UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
|
||||
MASTERDIR= ${.CURDIR}/../../lang/fpc
|
||||
WRKUNITDIR= ${FPCSRCDIR}/${PKGNAMESUFFIX:S/-//}
|
||||
EXTRACTUNITDIR+= ${WRKUNITDIR} ${FPCSRCDIR}/rtl ${FPCSRCDIR}/packages/base
|
||||
EXTRACTUNITDIR+= ${WRKUNITDIR}
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel lang
|
||||
PKGNAMESUFFIX= -fcl
|
||||
|
||||
|
@ -32,6 +32,6 @@ BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
|
|||
UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
|
||||
MASTERDIR= ${.CURDIR}/../../lang/fpc
|
||||
WRKUNITDIR= ${FPCSRCDIR}/${PKGNAMESUFFIX:S/-//}
|
||||
EXTRACTUNITDIR+= ${WRKUNITDIR} ${FPCSRCDIR}/rtl ${FPCSRCDIR}/packages/base
|
||||
EXTRACTUNITDIR+= ${WRKUNITDIR}
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel lang
|
||||
PKGNAMESUFFIX= -fcl
|
||||
|
||||
|
@ -32,6 +32,6 @@ BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
|
|||
UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
|
||||
MASTERDIR= ${.CURDIR}/../../lang/fpc
|
||||
WRKUNITDIR= ${FPCSRCDIR}/${PKGNAMESUFFIX:S/-//}
|
||||
EXTRACTUNITDIR+= ${WRKUNITDIR} ${FPCSRCDIR}/rtl ${FPCSRCDIR}/packages/base
|
||||
EXTRACTUNITDIR+= ${WRKUNITDIR}
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
|
|
@ -95,7 +95,10 @@ HAVE_EXAMPLES= true
|
|||
.endif
|
||||
|
||||
.if ${PKGNAMESUFFIX} == "-fcl"
|
||||
OPT+=-Fi../ -Fu${PREFIX}/lib/${PORTNAME}/${PORTVERSION}/units/${BUILDNAME}/*
|
||||
OPT= -Fuunits/${ARCH}-freebsd -Fu../units/${ARCH}-freebsd \
|
||||
-Fuxml/units/${ARCH}-freebsd -Fu../xml/units/${ARCH}-freebsd \
|
||||
-Fudb/units/${ARCH}-freebsd -Fu../db/units/${ARCH}-freebsd \
|
||||
-Fu../../units/${ARCH}-freebsd -Fu../passrc/units/${ARCH}-freebsd
|
||||
HAVE_EXAMPLES= true
|
||||
.endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue