mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
- Fix missing shared object issue
- Try to remove XINPUTMODDIR Submitted by: maintainer (partially) Approved by: maintainer, gabor
This commit is contained in:
parent
1ccec4d151
commit
284020307d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=223098
@ -56,7 +56,7 @@ PLIST_SUB+= UWACOMKLD="@noinst UWACOMKLD uwacom.ko"
|
||||
do-configure:
|
||||
@cd ${WRKDIR}/linuxwacom \
|
||||
&& ${LN} -s ${DISTDIR}/${DIST_SUBDIR}/${LINUXWACOM}.tar.bz2 \
|
||||
&& ./run_configure
|
||||
&& ${SETENV} PREFIX=${PREFIX} ./run_configure
|
||||
|
||||
do-build:
|
||||
.if defined(WITH_UWACOMKLD)
|
||||
@ -83,12 +83,12 @@ plist: clean configure
|
||||
@${ECHO} "===> Rebuilding PLIST."
|
||||
@${TOUCH} ${PLIST}
|
||||
@${RM} ${PLIST}
|
||||
@cd ${WRKDIR}/linuxwacom/${LINUXWACOM} \
|
||||
&& ./configure --prefix=${WRKDIR}/plist
|
||||
@cd ${WRKDIR}/linuxwacom \
|
||||
&& ${SETENV} PREFIX=${WRKDIR}/plist ./run_configure
|
||||
@${MKDIR} ${WRKDIR}/plist
|
||||
@cd ${WRKDIR}/linuxwacom/${LINUXWACOM}/src/util && ${GMAKE} install
|
||||
@cd ${WRKDIR}/linuxwacom \
|
||||
&& ./run_configure
|
||||
&& ${SETENV} PREFIX=${PREFIX} ./run_configure
|
||||
@${FIND} ${WRKDIR}/plist/ -not -type d \
|
||||
| ${SED} "s|${WRKDIR}/plist/||1" \
|
||||
>> ${PLIST}
|
||||
@ -96,6 +96,7 @@ plist: clean configure
|
||||
| ${SED} "s|${WRKDIR}/plist/|@dirrm |1" \
|
||||
>> ${PLIST}
|
||||
@${ECHO} "%%XINPUTMODDIR%%/wacom_drv.so" >> ${PLIST}
|
||||
@${ECHO} "@dirrmtry %%XINPUTMODDIR%%" >> ${PLIST}
|
||||
@${ECHO} "@cwd %%KMODDIR%%" >> ${PLIST}
|
||||
@${ECHO} "%%UWACOMKLD%%" >> ${PLIST}
|
||||
|
||||
|
@ -0,0 +1,8 @@
|
||||
--- linuxwacom/run_configure.orig 2008-11-18 22:53:45.000000000 +0100
|
||||
+++ linuxwacom/run_configure 2008-11-18 22:56:25.000000000 +0100
|
||||
@@ -13,4 +13,4 @@
|
||||
cp files/input.h linuxwacom-0.8.1-3/src/xdrv/linux
|
||||
cd linuxwacom-0.8.1-3
|
||||
patch < ../files/patch_configure
|
||||
-./configure --with-linux=yes --with-tcl=/usr/local/include/tcl8.4 --with-tk=/usr/local/include/tk8.4 CFLAGS="-I/usr/local/include"
|
||||
+./configure --with-linux=yes --with-tcl=/usr/local/include/tcl8.4 --with-tk=/usr/local/include/tk8.4 CFLAGS="-I/usr/local/include" --prefix=${PREFIX} --enable-dlloader
|
@ -8,5 +8,6 @@ bin/xsetwacom
|
||||
include/wacomcfg/wacomcfg.h
|
||||
@dirrm include/wacomcfg
|
||||
%%XINPUTMODDIR%%/wacom_drv.so
|
||||
@dirrmtry %%XINPUTMODDIR%%
|
||||
@cwd %%KMODDIR%%
|
||||
%%UWACOMKLD%%
|
||||
|
Loading…
Reference in New Issue
Block a user