Do not install libgarmin.a, its not needed at runtime.

first questioned its existence, and then OK, aja@
This commit is contained in:
sebastia 2010-12-22 12:01:50 +00:00
parent a7a16a457c
commit a1ced5f624
2 changed files with 8 additions and 3 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.1.1.1 2010/12/21 09:02:15 sebastia Exp $
# $OpenBSD: Makefile,v 1.2 2010/12/22 12:01:50 sebastia Exp $
SHARED_ONLY = Yes
COMMENT = garmin gps device driver
REVISION = 0
DISTNAME = garmindev-0.3.4
CATEGORIES = geo x11
HOMEPAGE = http://www.qlandkarte.org/
@ -20,4 +21,9 @@ MODULES = devel/cmake
WANTLIB += m pthread stdc++ usb
LIB_DEPENDS += devel/libusb
# libgarmindev is only needed to compile the drivers, but not on runtime
# see comment in src/IDevice.h
post-install:
rm ${PREFIX}/lib/qlandkartegt/libgarmin.a
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/12/21 09:02:15 sebastia Exp $
@comment $OpenBSD: PLIST,v 1.2 2010/12/22 12:01:50 sebastia Exp $
include/garmin/
include/garmin/IDevice.h
lib/qlandkartegt/
@ -29,5 +29,4 @@ lib/qlandkartegt/libGPSMap76Cx.so
lib/qlandkartegt/libGPSMap76S.so
lib/qlandkartegt/libQuest.so
lib/qlandkartegt/libRino120.so
lib/qlandkartegt/libgarmin.a
lib/qlandkartegt/libwhatGarmin.so