pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ERROR: [check-portability.awk]

kamel derouiche schrieb:
> Hi all,,
> I work on two package, and everything them two gives
> me the errors following ones:
> => Checking for portability problems in extracted files
> ERROR: [check-portability.awk] => Found test ... == ...:
> ERROR: [check-portability.awk] configure: \
>     if test "x$GST_INSPECT" == "x"; then
> ...
> There are two ways to fix this error message. If the file that
> contains the "test ==" is needed for building the package, you should
> create a patch for it, replacing the "==" operator with "=". If the
> file is not needed, add its name to the CHECK_PORTABILITY_SKIP 
> variable in the package Makefile.

The file "configure" _is_ needed for building the package, so you should
patch it. The patch should look similar to:

--- configure.orig
+++ configure
@@ -236,1 +236,1 @@
-   if test "x$GST_INSPECT" == "x"; then
+   if test "x$GST_INSPECT" = "x"; then

> I have to use TEST_TARGET in my Makefile but without
> result.

The TEST_TARGET doesn't have anything to do with your problem. It has
just a similar name as the test(1) command.


Home | Main Index | Thread Index | Old Index