1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

o Respect PTHREAD_LIBS. [1]

o USE_LDCONFIG instead of INSTALLS_SHLIB. [2]

Approved by:	Antoine Brodin <antoine.brodin@laposte.net> (maintainer) [1]
Reviewed by:	thierry [1]
Requested by:	Antoine Brodin <antoine.brodin@laposte.net> (maintainer) [2]
This commit is contained in:
Norikatsu Shigemura 2006-12-09 16:59:22 +00:00
parent ef52cd753d
commit f31ea515c8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179320

View File

@ -18,7 +18,7 @@ COMMENT= GGI API for input sources
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_BZIP2= yes USE_BZIP2= yes
INSTALLS_SHLIB= yes USE_LDCONFIG= yes
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
MAN1= mhub.1 \ MAN1= mhub.1 \
@ -207,6 +207,9 @@ PLIST_SUB+= VGL="@comment "
PLIST_SUB+= VGL="" PLIST_SUB+= VGL=""
.endif .endif
pre-configure:
${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/' ${WRKSRC}/configure
post-install: post-install:
${INSTALL_DATA} ${WRKSRC}/libgii.conf ${PREFIX}/etc/ggi/libgii.conf.dist ${INSTALL_DATA} ${WRKSRC}/libgii.conf ${PREFIX}/etc/ggi/libgii.conf.dist
${INSTALL_DATA} ${WRKSRC}/filter/mouse/mouse ${PREFIX}/etc/ggi/filter/mouse.dist ${INSTALL_DATA} ${WRKSRC}/filter/mouse/mouse ${PREFIX}/etc/ggi/filter/mouse.dist