make it usable by pkg-config

This commit is contained in:
espie 2007-01-30 14:15:27 +00:00
parent 43958cfc23
commit efad9e5d9b
2 changed files with 12 additions and 1 deletions

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/01/11 21:56:16 jasper Exp $
# $OpenBSD: Makefile,v 1.2 2007/01/30 14:15:27 espie Exp $
COMMENT= "Media Transfer Protocol (MTP) implementation"
DISTNAME= libmtp-0.1.2
SHARED_LIBS= mtp 0.0 # .6.0
CATEGORIES= devel
PKGNAME= ${DISTNAME}p0
HOMEPAGE= http://libmtp.sourceforge.net/

View File

@ -0,0 +1,10 @@
$OpenBSD: patch-libmtp_pc_in,v 1.1 2007/01/30 14:15:27 espie Exp $
--- libmtp.pc.in.orig Tue Jan 30 15:17:04 2007
+++ libmtp.pc.in Tue Jan 30 15:17:08 2007
@@ -11,5 +11,5 @@ Version: @VERSION@
Requires: libusb
Conflicts:
Libs: -L${libdir} -lmtp
-Libs.private @LIBS@
+Libs.private: @LIBS@
Cflags: -I${includedir} @OSFLAGS@