aboutsummaryrefslogtreecommitdiff
path: root/net/fpc-ldap
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2015-12-05 23:29:36 +0000
committerJohn Marino <marino@FreeBSD.org>2015-12-05 23:29:36 +0000
commitf01cba6e50575183cf50dc87ded17319b63e1a14 (patch)
tree6ef0e1020a116341931d3335d3863622b9586ead /net/fpc-ldap
parentc502e77d8f318117c0982f8999f2e243e8ef511c (diff)
downloadports-f01cba6e50575183cf50dc87ded17319b63e1a14.tar.gz
ports-f01cba6e50575183cf50dc87ded17319b63e1a14.zip
Notes
Diffstat (limited to 'net/fpc-ldap')
-rw-r--r--net/fpc-ldap/Makefile3
-rw-r--r--net/fpc-ldap/files/patch-packages_ldap_fpmake.pp11
-rw-r--r--net/fpc-ldap/pkg-plist4
3 files changed, 13 insertions, 5 deletions
diff --git a/net/fpc-ldap/Makefile b/net/fpc-ldap/Makefile
index af46e241b14f..71812a823c8c 100644
--- a/net/fpc-ldap/Makefile
+++ b/net/fpc-ldap/Makefile
@@ -1,14 +1,13 @@
# Created by: Christopher Key <cjk32@cam.ac.uk>
# $FreeBSD$
-PORTREVISION= 2
CATEGORIES= net lang
PKGNAMESUFFIX= -ldap
MAINTAINER= freebsd-fpc@FreeBSD.org
COMMENT= Free Pascal interface to OpenLDAP
-USE_FPC= hash
+USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
diff --git a/net/fpc-ldap/files/patch-packages_ldap_fpmake.pp b/net/fpc-ldap/files/patch-packages_ldap_fpmake.pp
new file mode 100644
index 000000000000..ba274c7dbe37
--- /dev/null
+++ b/net/fpc-ldap/files/patch-packages_ldap_fpmake.pp
@@ -0,0 +1,11 @@
+--- packages/ldap/fpmake.pp.orig 2015-01-05 19:27:06.000000000 +0000
++++ packages/ldap/fpmake.pp
+@@ -23,7 +23,7 @@ begin
+ P.Email := '';
+ P.Description := 'Header to openldap, a library that to access directory services';
+ P.NeedLibC:= true; // true for headers that indirectly link to libc?
+- P.OSes := [linux];
++ P.OSes := [linux,dragonfly,freebsd];
+
+
+ P.SourcePath.Add('src');
diff --git a/net/fpc-ldap/pkg-plist b/net/fpc-ldap/pkg-plist
index 92295e897a3f..2150156b09ab 100644
--- a/net/fpc-ldap/pkg-plist
+++ b/net/fpc-ldap/pkg-plist
@@ -1,7 +1,5 @@
-lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/ldap/Package.fpc
+lib/fpc/%%PORTVERSION%%/fpmkinst/%%BUILDNAME%%/ldap.fpm
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/ldap/lber.ppu
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/ldap/ldap.ppu
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/ldap/lber.o
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/ldap/ldap.o
-lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/ldap/libplber.a
-lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/ldap/libpldap.a