aboutsummaryrefslogtreecommitdiff
path: root/databases/libmemcache/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-09-10 23:22:33 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-09-10 23:22:33 +0000
commit87e04ceaf0a524dcf21d579ef6f09bea1255ba75 (patch)
treefa69b86e786ada3f4f00f6a8fe71472609304301 /databases/libmemcache/Makefile
parentb4c545310bf35ca9823231859978d4ff275a621e (diff)
downloadports-87e04ceaf0a524dcf21d579ef6f09bea1255ba75.tar.gz
ports-87e04ceaf0a524dcf21d579ef6f09bea1255ba75.zip
Notes
Diffstat (limited to 'databases/libmemcache/Makefile')
-rw-r--r--databases/libmemcache/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/databases/libmemcache/Makefile b/databases/libmemcache/Makefile
index 79d2f645f404..953f11869ba7 100644
--- a/databases/libmemcache/Makefile
+++ b/databases/libmemcache/Makefile
@@ -7,30 +7,31 @@
PORTNAME= libmemcache
PORTVERSION= 1.2.3
+PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://people.FreeBSD.org/~seanc/ports/libmemcache/
MAINTAINER= seanc@FreeBSD.org
COMMENT= The C library for accessing a memcache cluster
-NO_FILTER_SHLIBS= yes
-BUILD_DEPENDS+= pmk:${PORTSDIR}/devel/pmk
+BUILD_DEPENDS= pmk:${PORTSDIR}/devel/pmk
USE_BZIP2= yes
-OPTIONS= DEBUG "Build with debugging turned on" off
+INSTALLS_SHLIB= yes
+NO_FILTER_SHLIBS= yes
-.include <bsd.port.pre.mk>
+OPTIONS= DEBUG "Build with debugging turned on" off
.if defined(WITH_DEBUG)
PMKARGS= -e debug
.endif
-.if ${OSVERSION} < 500000
-BROKEN= "Does not compile on FreeBSD 4.x"
-.endif
-
do-configure:
cd ${WRKSRC}; ${LOCALBASE}/bin/pmk ${PMKARGS}
-.include <bsd.port.post.mk>
+post-install:
+ # only files named lib*.so.[0-9] enter ld-elf.so.hints
+ ${LN} -sf ${PREFIX}/lib/libmemcache.so.1.2 ${PREFIX}/lib/libmemcache.so.1
+
+.include <bsd.port.mk>