27 lines
1.3 KiB
Diff
27 lines
1.3 KiB
Diff
|
Index: libpwquality-1.4.5/python/Makefile.am
|
||
|
===================================================================
|
||
|
--- libpwquality-1.4.5.orig/python/Makefile.am
|
||
|
+++ libpwquality-1.4.5/python/Makefile.am
|
||
|
@@ -14,7 +14,7 @@ all-local:
|
||
|
CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py build --build-base py$(PYTHONREV)
|
||
|
|
||
|
install-exec-local:
|
||
|
- CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py build --build-base py$(PYTHONREV) install --prefix=${DESTDIR}${prefix}
|
||
|
+ CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py build --build-base py$(PYTHONREV) install --root ${DESTDIR} --prefix=${prefix}
|
||
|
|
||
|
clean-local:
|
||
|
rm -rf py$(PYTHONREV)
|
||
|
Index: libpwquality-1.4.5/python/Makefile.in
|
||
|
===================================================================
|
||
|
--- libpwquality-1.4.5.orig/python/Makefile.in
|
||
|
+++ libpwquality-1.4.5/python/Makefile.in
|
||
|
@@ -483,7 +483,7 @@ all-local:
|
||
|
CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py build --build-base py$(PYTHONREV)
|
||
|
|
||
|
install-exec-local:
|
||
|
- CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py build --build-base py$(PYTHONREV) install --prefix=${DESTDIR}${prefix}
|
||
|
+ CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py build --build-base py$(PYTHONREV) install --root ${DESTDIR} --prefix=${prefix}
|
||
|
|
||
|
clean-local:
|
||
|
rm -rf py$(PYTHONREV)
|